Outils pour utilisateurs

Outils du site


tech:notes_ansible-pull

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

tech:notes_ansible-pull [2025/03/24 15:06] – créée - modification externe 127.0.0.1tech:notes_ansible-pull [2025/04/04 20:18] (Version actuelle) Jean-Baptiste
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{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
 +~~~
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki