{{tag>Ansible Git CA}} # Notes ansible-pull Voir : * https://aws.amazon.com/fr/blogs/infrastructure-and-automation/automate-ansible-playbook-deployment-amazon-ec2-github/ * https://blog.octo.com/ansible-pull-killer-feature/ * https://www.devopsschool.com/blog/what-is-ansible-pull-and-how-can-we-use-it/ * https://www.youtube.com/watch?v=sn1HQq_GFNE * https://github.com/jktr/ansible-pull-example ~~~ # pull mode (suitable for automation) $ ansible-pull -U https://git.example.com/ansible.git -i "$(hostname --short)," # push mode (development) $ ansible-playbook -i inventory ./playbook.yml --limit foo.example.com ~~~