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 comment

Turn on JavaScript to leave a comment.

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
Exit mobile version
%%footer%%