ansible-playbook is a 'unix command line utility' you can schedule it in cron as you would do any other, just pass it the options it needs:
0 4 * * * /usr/bin/ansible-playbook /path/to/mybackupplay.yml .... Also, you can make your play an 'executable script' by setting the x permission bits on the playbook file and having ansible-playbook in the shebang: #!/usr/bin/ansible-playbook - hosts: localhost .... -- ---------- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7duAqto9MEtkmj%3D0VYR%3DDFqUQ-aQ1rDdBzas_rqe_xW3Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
