3803b27f6c
Playbook will install ansible, create directory where git checkout goes, and set up a cron job to run ansible-pull.
2 lines
136 B
Django/Jinja
2 lines
136 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 }}
|