DevOps Classroom notes 16/Mar/2025

Ansible Roles

  • Refer Here for the existing playbook.
  • Refer Here for the Ansible role
  • Refer Here for the changes done to convert playbook tasks, handlers, files and templates into roles
  • Roles cannot execute on their own, a playbook has to call it
  • Refer Here for the playbook written which calls the role

Ansible Collections

Usage of Ansible in Modern CI/CD Pipelines

  • In modern CI/CD Environments, Terraform (or Equivalent) creates infra adn uses Ansible to configure virtual machines one by one.

Ansible Vaults

  • Refer Here for Ansible vaults
  • Watch classroom video for example

Ansible configuration

  • Ansible stores the configuration by default in /etc/ansible/ansible.cfg and default hosts in /etc/ansible/hosts
  • Ansible configuration values of intrest
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%%