DevOps Classroom notes 09/Nov/2024

Ansible Roles

  • Ansible Roles can make playbooks reusable
  • From a playbook we call role
  • Roles can be

    • from ansible galaxy
    • from your local development
  • Lets use a role to install mysql. Navigate to roles in Ansible Galaxy
  • Refer Here for the changes done to execute the database installation
  • Refer Here for Role docs
  • Refer Here for the changes done to create a nop role

Ansible Collections

  • Ansbile custom modules can be developed in python
  • Many communities develop custom modules and have to wait till next release to get the modules
  • Ansible collections make it easier to distribute custom modules independent of ansible releases
  • Collections can be used to distribute
    • roles
    • custom modules

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube