Ansible Galaxy, also known as Galaxy, is an official centralized hub for finding, sharing, and reusing Ansible roles. This allows the community to share and collaborate on Ansible playbooks, and allows new users to quickly get started with using Ansible. To share our custom-written roles with the community, we can publish them to Ansible Galaxy using GitHub authentication.
These roles can be accessed at https://galaxy.ansible.com as well as using a command-line tool called ansible-galaxy
, which is installed with Ansible:
We can find roles using different parameters such as Author, Platform, Tag, and so on. This allows users to understand whether this role works for their distribution and version, which Ansible version is required, and other information.
The following screenshot shows how we can use ansible-galaxy
CLI to perform different operations, such as searching and installing:
Note
Read more about Ansible Galaxy from docs at http://docs.ansible.com/ansible...