Log cronjob on ansiblehost role
This commit is contained in:
parent
f8c152ebc1
commit
427804d68b
@ -48,5 +48,5 @@
|
||||
cron:
|
||||
hour: "0"
|
||||
name: ansible-pull
|
||||
job: "cd /opt/ansible-repo && ansible-playbook ec2.yml"
|
||||
job: "cd /opt/ansible-repo && ansible-playbook ec2.yml > /var/log/ansible-pull.log 2>&1"
|
||||
become: true
|
||||
|
Loading…
Reference in New Issue
Block a user