This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ansible:ansible_cmd [2024/03/24 19:34] manu [All ansible commands] |
ansible:ansible_cmd [2024/04/19 12:26] (current) manu [All ansible commands] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ansible command examples ====== | ====== Ansible command examples ====== | ||
+ | |||
+ | ===== All ansible commands ===== | ||
+ | |||
+ | https://docs.ansible.com/ansible/latest/command_guide/command_line_tools.html | ||
+ | |||
+ | **ansible-rulebook** : start a playbook based on a specific event | ||
+ | https://blog.stephane-robert.info/post/ansible-event-driven/ | ||
+ | |||
+ | **ansible-pull** : opposite to ansible is based on the push mode, offering a central management, the pull mode can be use in specific cases | ||
+ | https://blog.octo.com/ansible-pull-killer-feature | ||
+ | | ||
+ | **ansible-galaxy** : get collections of playbooks | ||
+ | |||
+ | **ansible** : Define and run a single task ‘playbook’ against a set of hosts | ||
+ | |||
+ | **ansible-playbook** : Define and run a single task ‘playbook’ against a set of hosts | ||
+ | |||
+ | **ansible-config** : View ansible configuration | ||
+ | |||
+ | **ansible-console** : REPL console for executing Ansible tasks | ||
+ | |||
+ | **ansible-doc** : plugin documentation tool | ||
+ | |||
+ | **ansible-galaxy** : Perform various Role and Collection related operations | ||
+ | |||
+ | **ansible-inventory** : Show Ansible inventory information, by default it uses the inventory script JSON format | ||
+ | |||
+ | **ansible-vault** : encryption/decryption utility for Ansible data files | ||
+ | |||
+ | **ansible-lint** : check playbook syntax | ||
===== cmd ===== | ===== cmd ===== | ||
Line 395: | Line 425: | ||
</cli> | </cli> | ||
- | ===== All ansible commands ===== | ||
- | |||
- | **ansible-rulebook** : start a playbook based on a specific event | ||
- | https://blog.stephane-robert.info/post/ansible-event-driven/ | ||
- | |||
- | **ansible-pull** : opposite to ansible is based on the push mode, offering a central management, the pull mode can be use in specific cases | ||
- | https://blog.octo.com/ansible-pull-killer-feature | ||
- | | ||
- | **ansible-galaxy** : get collections of playbooks | ||
- | |||
- | **ansible-playbook** : Define and run a single task ‘playbook’ against a set of hosts | ||
- | |||
- | **ansible-config** : | ||
- | |||
- | **ansible-console** : | ||
- | |||
- | **ansible-doc** : | ||
- | |||
- | **ansible-galaxy** : | ||
- | |||
- | **ansible-inventory** : | ||
- | **ansible-vault** : |