mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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 }}
|