ANSIBLE-GALAXY Commands Cheat Sheet
Here is a cli commands cheat sheet for ANSIBLE-GALAXY command, you can use this as a quick reminder for basic commands with a brief description for each of the commands.
What is ANSIBLE-GALAXY command?
Command to manage Ansible roles in shared repositories, the default of which is Ansible Galaxy https://galaxy.ansible.com.
# To install a role: ansible-galaxy install. # To remove a role: ansible-galaxy remove . # To list installed roles: ansible-galaxy list # To search for a given role: ansible-galaxy search # To create a new role: ansible-galaxy init # To get the information for the role # or a collection if you replace `role` with `collection`: ansible-galaxy role info .
Check out the ANSIBLE-GALAXY command documentation .
You can also check our MegaSh cheatsheet tool, that has 150+ searchable linux cheat sheets in one page, so you never forget a command as you work again