diff --git a/examples/playbooks/templates/ansible-pull.j2 b/examples/playbooks/templates/ansible-pull.j2 index bab3f3f73d..c6f1759cca 100644 --- a/examples/playbooks/templates/ansible-pull.j2 +++ b/examples/playbooks/templates/ansible-pull.j2 @@ -1,2 +1,2 @@ # 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