Ansible course for beginners training material

For an Ansible training for beginners, I needed some practice material.

Some thing that goes from playing with yaml, up to setting up a webserver.

In a git repository, together with my docker-compose setup (see previous post), I can now provide the students with each an enviromnent and some sample playbooks.

The ansible.cfg file already points to an inventory and enables YAML stdout callback.

Each student needs :

  • docker & docker compose installed
  • access to docker hub
  • access to github

Steps :

  • git clone docker-compose project
  • start docker-compose
  • git clone the course material
  • start testing
  • custom filter plugin
  • custom module
  • example with roles
  • example with loading vars
  • multiple playbooks

Post a Comment