Ansible Practice Workshops

Learn Ansible by doing; we have a 30 Days of Ansible challenge by which you can watch the video and do hands-on from your own lab setup. The playlist contains videos to prepare your own lab using Vagrant, VirtualBox or using Public Cloud such as AWS or GCP).

Also check Ansible guides to learn the core concepts.

Create Ansible Lab

Learn Ansible Concepts

We have a free course to learn Ansible and you can watch it at your own free time. All the playbooks and configurations are found in this GitHub Repo.

Practice Ansible

These are few use cases which you can try at your own environment for practicing Ansible. Try to do it by yourself (by searching on internet or using documentations) and refer to the links for quick help.

Operating System

  • Package installation - Create Ansible playbook to deploy multiple packages to Linux machine; create Ansible role and the package list should be able to pass to the role.
  • Linux OS patching - Create Ansible playbook content to execute OS patching for Linux machines (choose your own flavor of Linux).
  • Bash Configuration - Configure ~/.bashrc using Ansible
  • motd and etcd configuration - Confgure OS files using Ansible. Use Jinja2 template, lineinfile or blockinfile modules as needed.

Infrastructure Management

  • Public Coud (AWS, GCP, Azure) - Develop Ansible content to create/delete AWS resources such as ec2, load balancers, disks, databases, keypairs, security groups, vpc etc. Check Ansible for Infrastructure Provisioning in AWS for references.
  • Private Cloud - Develop Ansible content to create and manage private cloud resources (VMWare, OpenStack etc).

Extra

References