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
- Refer Here for official docs
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.cfgand default hosts in/etc/ansible/hosts - Ansible configuration values of intrest
