Log to the backups directory

This commit is contained in:
Salt 2020-05-03 03:08:13 -05:00
parent 86ab23bd07
commit f9ad4801c5
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
roles:
- common
- user
- backups
- hosts: tag_www_true
vars:
mysql_root_password: !vault |

View File

@ -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