Only root can write to the backup directory, which is probably fine...probably
This commit is contained in:
parent
4d213eff75
commit
75ad0e053b
@ -97,6 +97,8 @@
|
|||||||
dest: "{{ backup_location }}/{{ inventory_hostname }}_{{ now().strftime('%Y%m%d%H%M%S') }}.xml"
|
dest: "{{ backup_location }}/{{ inventory_hostname }}_{{ now().strftime('%Y%m%d%H%M%S') }}.xml"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
delegate_to: blacktide
|
delegate_to: blacktide
|
||||||
|
become: true
|
||||||
|
become_method: sudo
|
||||||
no_log: "{{ pfsense_backup_disable_logging | default(false) }}"
|
no_log: "{{ pfsense_backup_disable_logging | default(false) }}"
|
||||||
|
|
||||||
- name: Find all PFSense backups for the current host
|
- name: Find all PFSense backups for the current host
|
||||||
|
Loading…
Reference in New Issue
Block a user