Log to the backups directory
This commit is contained in:
parent
86ab23bd07
commit
f9ad4801c5
1
ec2.yml
1
ec2.yml
@ -5,6 +5,7 @@
|
||||
roles:
|
||||
- common
|
||||
- user
|
||||
- backups
|
||||
- hosts: tag_www_true
|
||||
vars:
|
||||
mysql_root_password: !vault |
|
||||
|
@ -22,5 +22,5 @@
|
||||
minute: "0"
|
||||
hour: "2"
|
||||
name: ansible-backup
|
||||
job: "{{ backups_script }}"
|
||||
job: "{{ backups_script }} >> {{ backups_outdir }}/backups.log 2>&1"
|
||||
become: yes
|
||||
|
Loading…
Reference in New Issue
Block a user