Ansible Galaxy
- Ansible Galaxy Refer Here is collection of reusable ansible playbooks in the form of roles and collections shared by the community which we can use to configure our application.
- Now lets try to install mysql. We search for mysql in the Ansible Galaxy and lets restrict ourselves for using roles
- The mysql role which we found Refer Here
- Refer Here for the changes done
- Now lets login into ansible control server and check the execution of the playbook
- As the role is not found the issue arises, lets install the roles
- After installing the role the syntax check passes
- Refer Here for mysql role
- Exercise: Try install postgresql using the ansible role on any node of your choice Refer Here
- Refer Here for the changes
- Refer Here for the role written for install postgres