Course : Ansible: Automating Server Management

Ansible: Automating Server Management






INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Available in English on request

Ref. SIB
  2d - 14h00
Price : 1410 € E.T.






Teaching objectives
At the end of the training, the participant will be able to:
Understand the structure of Ansible (roles, tasks, playbooks, modules, etc.)
Install and configure Ansible
Use and create playbooks to manage infrastructure

Course schedule

1
Positioning of Ansible

  • Ansible and DevOps.
  • Devops & IaC (Infrastructure as Code), the source code of the infrastructure.
  • The tools Puppet, Chef, Saltstack, etc. Ansible.
  • How Ansible works.
  • Architecture: inventory, modules, playbooks, tasks, roles.

2
Installation and configuration

  • Installing and getting started with the tool.
  • The basic commands of Ansible.
  • Node configuration: ssh keys, sudo privilege escalation.
  • The configuration file.
  • The inventory: creation and use.
Hands-on work
Installing Ansible and configuring several client nodes, creating inventory and using the main commands.

3
Ad Hoc orders

  • Parallelism and Shell commands.
  • File transfers.
  • Packages with yum, apt.
  • Users and groups.
  • Services.
Hands-on work
Use of different Ad hoc commands in parallel on multiple nodes.

4
Playbooks

  • Introduction to playbooks.
  • Definition of tasks, plays.
  • Yaml syntax.
  • Variables, modules and tasks.
  • Executing a playbook.
  • Testing a playbook in a dry-run.
  • Step-by-step execution, skipping tasks.
  • Managing errors.
Hands-on work
Writing a simple playbook composed of several tasks.

5
Writing modular code

  • Notifications and Handlers.
  • Roles and includes. Tags.
  • Community modules.
  • Ansible-galaxy: Share your code.
Hands-on work
Explore the Ansible galaxy, downloading and using modules, adding tags to a playbook.

6
Advanced commands

  • Vault: data encryption.
  • Lookups.
  • Developing your own modules, debugbing a module, plug-ins.
  • Creating your own filters.
Hands-on work

7

  • Writing a playbook
  • Variables. Templates and filters.
  • Control structures: conditions, loops and blocks.
  • Prompts. Facts.
  • Writing playbooks.


Customer reviews
4,4 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed. (Translated by Deepl)
NICOLAS C.
11/12/25
5 / 5

Formateur très pédagogue avec des exemples concrets et des retours d’expériences
JACQUES-ALEXANDRE M.
11/12/25
4 / 5

Très bon formateur
LA CELLE ERIC D.
11/12/25
5 / 5

Très bon formateur qui a animer correctement tout au long de la formation avec des bons travaux pratiques et des explications claires.



Dates and locations
Select your location or opt for the remote class then choose your date.
Remote class

Dernières places
Date garantie en présentiel ou à distance
Session garantie