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}} {{tag>Ansible Git CA}}
  
-Notes ansible-pull+Notes ansible-pull
  
 Voir : Voir :
Ligne 10: Ligne 11:
 * https://github.com/jktr/ansible-pull-example * https://github.com/jktr/ansible-pull-example
  
-<code ->+~~~
 # pull mode (suitable for automation) # pull mode (suitable for automation)
 $ ansible-pull -U https://git.example.com/ansible.git -i "$(hostname --short)," $ ansible-pull -U https://git.example.com/ansible.git -i "$(hostname --short),"
Ligne 16: Ligne 17:
 # push mode (development) # push mode (development)
 $ ansible-playbook -i inventory ./playbook.yml --limit foo.example.com $ ansible-playbook -i inventory ./playbook.yml --limit foo.example.com
-</code>+~~~
  
  
tech/notes_ansible-pull.1742825205.txt.gz · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki