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:
|
roles:
|
||||||
- common
|
- common
|
||||||
- user
|
- user
|
||||||
|
- backups
|
||||||
- hosts: tag_www_true
|
- hosts: tag_www_true
|
||||||
vars:
|
vars:
|
||||||
mysql_root_password: !vault |
|
mysql_root_password: !vault |
|
||||||
|
@ -22,5 +22,5 @@
|
|||||||
minute: "0"
|
minute: "0"
|
||||||
hour: "2"
|
hour: "2"
|
||||||
name: ansible-backup
|
name: ansible-backup
|
||||||
job: "{{ backups_script }}"
|
job: "{{ backups_script }} >> {{ backups_outdir }}/backups.log 2>&1"
|
||||||
become: yes
|
become: yes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user