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 |
ansible:ansible_cmd [2024/04/19 12:26] (current) manu [All ansible commands] |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== All ansible commands ===== | ===== 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 | **ansible-rulebook** : start a playbook based on a specific event | ||
Line 10: | Line 12: | ||
| | ||
**ansible-galaxy** : get collections of playbooks | **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-playbook** : Define and run a single task ‘playbook’ against a set of hosts | ||
- | **ansible-config** : | + | **ansible-config** : View ansible configuration |
- | **ansible-console** : | + | **ansible-console** : REPL console for executing Ansible tasks |
+ | |||
+ | **ansible-doc** : plugin documentation tool | ||
- | **ansible-doc** : | + | **ansible-galaxy** : Perform various Role and Collection related operations |
- | **ansible-galaxy** : | + | **ansible-inventory** : Show Ansible inventory information, by default it uses the inventory script JSON format |
- | **ansible-inventory** : | + | **ansible-vault** : encryption/decryption utility for Ansible data files |
- | **ansible-vault** : | + | **ansible-lint** : check playbook syntax |
===== cmd ===== | ===== cmd ===== |