Use absolute path on ansiblehost role cronjob

Ups
This commit is contained in:
Salt 2020-02-14 03:18:11 -06:00
parent 4a7c91c361
commit bbdaf54af1

View File

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