DevOps Classroom notes 22/Feb/2026

Ansible roles

  • Refer Here for ansible roles
  • In ansible we can make two reusable artifacts
    • module: To develop a reusable module, we need to write python code
    • role (reusable playbook): A playbook can be made reusable
  • A role cannot execute on its own, a playbook has to call it.
  • Refer Here for changes done to create a role and use role from playbook

Ansible collection

  • Refer Here
  • Ansible collection can have
    • modules
    • roles
  • Ansible collections can be distributed without dependency of ansible releases.
  • Refer Here for collection and role skeletons
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

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

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Exit mobile version
%%footer%%