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 : 1680 CHF 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,5 / 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.


Dates and locations

Dernières places
Date garantie en présentiel ou à distance
Session garantie
From 27 to 28 November 2025 *
FR
Remote class
Registration
From 27 to 28 November 2025 *
FR
Remote class
Registration
From 1 to 2 December 2025 *
FR
Remote class
Registration
From 11 to 12 December 2025 *
FR
Remote class
Registration
From 19 to 20 January 2026
FR
Remote class
Registration
From 16 to 17 February 2026
FR
Remote class
Registration
From 16 to 17 March 2026
FR
Remote class
Registration
From 20 to 21 April 2026
FR
Remote class
Registration
From 18 to 19 May 2026
FR
Remote class
Registration
From 15 to 16 June 2026
FR
Remote class
Registration
From 20 to 21 July 2026
FR
Remote class
Registration
From 17 to 18 August 2026
FR
Remote class
Registration
From 3 to 4 September 2026
FR
Remote class
Registration
From 12 to 13 October 2026
FR
Remote class
Registration
From 26 to 27 November 2026
FR
Remote class
Registration
From 17 to 18 December 2026
FR
Remote class
Registration