devops logo

Goals


- Use Ansible in the context of continuous integration and continuous delivery of an application

- Effectively manage inventories

Program

The origin of the DevOps movement
The need for industrialization for the operational
Reminder of basic concepts

The ansible-config commands
Connection
modes Authentication modes
Define execution strategies
Management of paths and structuring of project directories
The vault and vault-id

Practical workshop: secure and optimize during the creation of a new project

Structure your inventory for a production context
Overload of variables
Presentation of dynamic inventory
Integration with a docker infrastructure
Integration with an
Ansible vmware infrastructure and the cloud
Setting up a dynamic inventory
Managing the assignment of roles according to the environments

Practical workshop : Setting up a dynamic inventory to interact with a docker platform. Organize orchestration according to the types of environment

SSH: bastion server Credentials
management:
Defensive programming: error management
Optimization of tasks for execution in « dry run » mode

Execution strategy and affinity
Presentation of the delegation system
Creation of a random attribution system
The push and pull modes of ansible
Tags and limits

Installing a role from the public repository
Installing a role from a private repository
Modeling a new role
Managing the role’s metadata
Creating a control system

Industrialize role creation with the cookicutter tool Molecule
presentation
Test your deployments with pytest and testinfra

Declaration of local variables
Chaining jinja filters
Advanced iteration in jinja
Presentation of the inclusion
system Presentation of the macro system
Creation of a jinja filter

Practical DNS workshop : dynamically model the records in a DNS zone

Set up a release system for roles and playbooks
Code refactoring: best practices
How to keep your code up to date
Presentation of ansible-lint

Duration

3 days

Price

£ 2244

Audience

System administrators, Integrators, Developers

Prerequisites

Have taken the Ansible Initiation course or equivalent knowledge

Reference

DEV100874-F

Sessions

Contact us for more informations about session date