Ansible: Solution setup

Learn about Ansible with this training. Understand Playbook, roles, modules and general concepts of DevOps applicable to Ansible.
Private session

This training is available in a private or personalized format. It can be provided in one of our training centres or at your offices. Call one of our consultants of submit a request online.

Call now at 1 877 624.2344

  • Duration: 2 days
  • Regular price: On request

Course outline

Duration : 2 days

Audience

System administrators

Prerequisites

Basic knowledge of Linux systems

Objectives

  • You will understand the architecture of Ansible (role, task, playbook, module,...)
  • You will know how to set-up Ansible
  • You will be able to use and create playbooks to manage your infrastructure

Contents

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 command
  • Defining (tasks)
  • Notifications and handlers
Creation of reusable code
  • Definition and usage of variables
  • The roles notion
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

Surround yourself with the best

Frédéric Paradis
Frédéric Paradis
Certified Trainer and Cloud Architect
As a certified Microsoft trainer, Frédéric describes himself as a Cloud magician who easily navigates the mythical space between technology and reality.
Marc Maisonneuve
Marc Maisonneuve
Training program director
Marc Maisonneuve has acted as a Training Program Director, professional effectiveness trainer and user tools practice leader at AFI for several years. Mr. Maisonneuve is known for his analytical skills, his legendary calm and his undeniable desire to encourage people to develop their skills. He has the ability to present technological solutions in a natural way and to adapt them to the concrete needs of the workplace.
Vicky Moreau
Vicky Moreau
Trainer
Vicky Moreau is a passionate freelancer and professional in the area of office automation. She holds a college diploma in office automation, most of her solid experience with the Office Suite was acquired while being an autodidact. In fact, she has successfully completed an MOS (Microsoft Office Specialist) Excel certification.
Francis Ferland-Stevenson
Francis Ferland-Stevenson
Trainer
Francis began as a trainer more than 5 years ago by testing office automation tools designed specifically to met the needs of his colleagues. His calm and his empathy makes him able to adapt his language according to the level of experience of the group. This makes his learnings clear and accessible to anyone. As a trainer, he is therefore attentive to the needs of his students to make sure they meet their objectives and face the challenges.