Fix additional naming issues
This commit is contained in:
parent
29f8064441
commit
2eaeb48fee
@ -6,8 +6,9 @@
|
||||
strategy: free
|
||||
|
||||
vars:
|
||||
bigboot_backup_success_file: /var/log/IPE/IPU/bigboot_rear_success
|
||||
bigboot_nfs_backup_share: /backups/bigboot
|
||||
bigboot_backup_success_path: "/var/log/IPE/IPU"
|
||||
bigboot_backup_success_file: "{{ bigboot_backup_success_path }}/bigboot_rear_success"
|
||||
bigboot_nfs_backup_share: "/backups/bigboot"
|
||||
bigboot_nfs_backup_share_fsid: 20
|
||||
|
||||
tasks:
|
||||
@ -35,12 +36,12 @@
|
||||
|
||||
- name: Create success file directory if not present
|
||||
ansible.builtin.file:
|
||||
path: "{{ rear_backup_success_path }}"
|
||||
path: "{{ bigboot_backup_success_path }}"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Create Bigboot backup success file
|
||||
ansible.builtin.copy:
|
||||
dest: "{{ rear_backup_success_file }}"
|
||||
dest: "{{ bigboot_backup_success_file }}"
|
||||
content: "success\n"
|
||||
mode: "0644"
|
||||
|
Loading…
x
Reference in New Issue
Block a user