1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Log last execution of ansible-pull to /var/log/ansible-pull.log

TODO: logrotate script and append to log instead.
This commit is contained in:
Michael DeHaan 2012-05-05 12:18:04 -04:00
parent 99a7522b03
commit 39e791a1d3

View file

@ -1,2 +1,2 @@
# Cron job to git clone/pull a repo and then run locally # Cron job to git clone/pull a repo and then run locally
{{ schedule }} {{ cron_user }} ansible-pull -d {{ workdir }} -U {{ repo_url }} {{ schedule }} {{ cron_user }} ansible-pull -d {{ workdir }} -U {{ repo_url }} >/var/log/ansible-pull.log 2>&1