Ansible Course: Setting up Ansible

Setting up Ansible

Ansible Course

Teaching goals:

  • You understand the architecture of Ansible (role, task, playbook, module,…)
  • You know how to set­up Ansible
  • You are able to use and create playbooks to manage your infrastructure

Basic knowledge of Linux systems

System administrators

2 days (14 hours)

Day 1

Introduction to Ansible

  • Introduction to the centralized configuration
  • Ansible’s specific concepts
  • Comparison with other solutions (Puppet/Chef/SaltStack)

Setting up Ansible

  • Installation
  • Initial configuration
  • Ansible CLI
  • Managing the access with SSH and sudo
  • Settling the inventory

Usage of the main ad­hoc modules

  • shell / command
  • service
  • yum / apt

Ansible playbooks

  • Interest
  • Syntax and YAML
  • ansible­playbook comman
  • Defining (tasks)
  • Notifications and handlers

Creation of reusable code

  • Definition and usage of variables
  • The roles notion

Day 2

Usage of additional modules and roles

  • user/group
  • MySQL
  • Modules for managing cloud infrastructure (ec2/openstack)
  • Finding more roles on Galaxy

Ansible language

  • Variables
  • Facts
  • Loops
  • Conditions
  • Inclusions
  • « pre » and « post »tasks
  • Best practices

Templates (jinja2)

  • Basic syntax
  • Tests, conditions and loops
  • Filters

Going further

  • Develop your own modules
  • Creation of jinja2 filters
  • Ansible Tower: the GUI

24-25th October 2018 in Stockholm

For our French-speaking courses and our trainings in France, please refer to our French Website.

1500 € per trainee (VAT excluded)

For more information, please contact us

Professional trainings, always…

  • Taught by our own experts who work on projects, contribute to the Open Source communities… hence are able to highlight theory with actual cases
  • Focused on hands-on use and practice: theoretical teachings, designed to help you understand principles and thinking, consistently come with specific practice
  • Accompanied by support material in electronic format, given to students at the beginning of the course

Trainings for all skills

  • We offer training sessions for all skill levels on each of our expertise domains, all including an implementation of the tackled technologies.

If you want detailed information about our courses

Contact us:

or call us +33 (0)