ansible/examples/playbooks/templates/ansible-pull.j2

3 lines
168 B
Text
Raw Normal View History

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