Use absolute path on ansiblehost role cronjob
Ups
This commit is contained in:
parent
4a7c91c361
commit
bbdaf54af1
@ -48,5 +48,5 @@
|
|||||||
cron:
|
cron:
|
||||||
hour: "0"
|
hour: "0"
|
||||||
name: ansible-pull
|
name: ansible-pull
|
||||||
job: "cd /opt/ansible-repo && ansible-playbook ec2.yml > /var/log/ansible-pull.log 2>&1"
|
job: "cd /opt/ansible-repo && /usr/local/bin/ansible-playbook ec2.yml > /var/log/ansible-pull.log 2>&1"
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
Reference in New Issue
Block a user