ansible-role-apache/language_features/templates/etc_cron.d_ansible-pull.j2

2 lines
157 B
Django/Jinja

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