Ansible-lint fixes
Some checks failed
Ansible Lint Pipeline / Ansible-Development-Pipeline (ansible-dev-centos) (push) Failing after 44s
Some checks failed
Ansible Lint Pipeline / Ansible-Development-Pipeline (ansible-dev-centos) (push) Failing after 44s
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
---
|
||||
- name: Create success file directory if not present
|
||||
ansible.builtin.file:
|
||||
path: "{{ rear_backup_success_file_path }}"
|
||||
path: "{{ rear_vars_success_file_path }}"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Create backup success file
|
||||
ansible.builtin.copy:
|
||||
dest: "{{ rear_backup_success_file_path }}/{{ rear_backup_workflow }}_rear_success"
|
||||
dest: "{{ rear_vars_success_file_path }}/{{ rear_vars_backup_workflow }}_rear_success"
|
||||
content: "success\n"
|
||||
mode: "0644"
|
||||
|
@ -54,7 +54,7 @@
|
||||
- name: Create backup of ReaR configuration files
|
||||
community.general.archive:
|
||||
path: /etc/rear
|
||||
dest: /root/etc-rear-backup-{{ rear_backup_workflow }}.tar.gz
|
||||
dest: /root/etc-rear-backup-{{ rear_vars_backup_workflow }}.tar.gz
|
||||
format: gz
|
||||
force_archive: true
|
||||
mode: "0600"
|
||||
|
Reference in New Issue
Block a user