Manage infrastructures with Ansible

Effective, centralized, traceable, scalable management

Our courses are offered in inter-company according to the proposed schedule below. We can also move within your entity. Do not hesitate to ask us for more information!

Training goals

The galaxy of devops tools today offers a complete set of Open Source tools for the management of complex infrastructures. Ansible is a tool that allows you to control these infrastructures without having to deploy an agent. It makes it possible to deploy these infrastructures, to simplify the orchestration operations, to set up a centralized configuration management on a large number of machines. With a version manager, it logs and reproduces these configurations. Based on the yaml format, it is made less complex in its handling.

Gain a good understanding, basic knowledge and good practice are the objectives of this course, based on practice:

  • Understand centralized infrastructure management
  • Know the basic tools and implement them
  • Integrate good practices
  • Create your own modules

Target

The training is aimed at an audience who is new to Ansible, with prior knowledge of system administration and the command line.

Having Python language development concepts is a plus for advanced aspects of training

Practical

  • Duration : 2 days
  • Level : beginner
  • Goal : participants will be able to use git daily and implement a standard workflow for collaborative development projects
  • Price : 1 300€ HT

The training will alternate theoretical contributions and implementation of each notion addressed. The practical cases are based on the setting up of virtual machines for the simulation of concrete infrastructure.

Participants will also be able to submit concrete cases and problems.

The program

1 Overview

  • Infrastructure As a Code
  • Ansible Basic Concepts
  • Ansible Basic Infrastructure

2 Installation, configuration, command line tools

  • Installation
  • Configuration
  • Command lines

3 Inventory

  • Inventory file
  • Groups
  • Dynamic inventory
  • References

4 Direct Orders

5 Playbook, YAML

  • brief introduction to YAML
  • Writing a playbook
  • Running a playbook
  • tasks
  • Buckles, conditions
  • Include
  • modules
  • Syntax check
  • Check mode

6 Rôles

  • Use a role in galaxy
  • Write a role

7 Variables

  • View variable
  • facts
  • Host_vars, group_vars, …
  • precedence
  • Continuous example
  • Ansible vault

8 Templates

  • Some Jinja2 bases
  • Lookup
  • Tests, loops
  • Example: motd
  • filters
  • Write a filter

9 More complete example: etherpad

  • Database
  • Apache
  • Etherpad

10 Good practices

  • tree
  • Organization of the playbook

11 Writing a module

  • Document a module
  • Debug a module

 

Arnaud PATARD is co-founder of hupstream. Open Source fan, kernel developer and system administrator, he works on administrative centralization tools such as puppet, ansible.

After working on Ansible for others, he now proposes to train in the fundamentals and advanced practices of the tool.

 

Our next training dates

  • 21 and 22 february 2019, Paris
  • 15 and 16 april 2019, Paris
  • 17 and 18 june 2019, Paris
  • 19 and 20 september 2019, Paris
  • 25 and 26 november 2019, Paris

Ask for a quote