Course : Ansible: Automating Server Management

Ansible: Automating Server Management

Download in PDF format Share this course by email 2


Ansible allows you to simply and efficiently automate the setting up of complex infrastructures and the deployment of applications. This course will teach you how to use the open source tool Ansible, how to manage its playbooks, roles, and modules, and how to apply them on your infrastructure.


Inter
In-house
Custom

Practical course in person or remote class

Ref. SIB
Price : 1820 CHF E.T.
  2d - 14h00




Ansible allows you to simply and efficiently automate the setting up of complex infrastructures and the deployment of applications. This course will teach you how to use the open source tool Ansible, how to manage its playbooks, roles, and modules, and how to apply them on your infrastructure.

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

Intended audience
Linux/Unix system administrators.

Prerequisites
Basic knowledge of Linux or Unix administration.

Course schedule

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.

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.

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.

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.

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.

Advanced commands

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

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


Customer reviews
4,2 / 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
From 6 to 7 June 2024
FR
Remote class
Registration
From 6 to 7 June 2024 *
FR
Remote class
Guaranteed session
Registration
From 20 to 21 June 2024
FR
Remote class
Registration
From 18 to 19 July 2024
FR
Remote class
Registration
From 19 to 20 September 2024
FR
Remote class
Registration
From 10 to 11 October 2024 *
FR
Remote class
Guaranteed session
Registration
From 14 to 15 November 2024
FR
Remote class
Registration
From 12 to 13 December 2024 *
FR
Remote class
Guaranteed session
Registration