Goals
- Guarantee the minimum subsistence level to consider a DevOps approach
- Understand the interest of the DevOps movement
- Install Ansible
- Use Ansible playbooks to deploy your IS
Program
Installing and handling packages, managing software
Creating and configuring users
Managing directories, permissions
Configuring SSH, using keys
Text editors
Practical workshop: adding software, creating users, setting up an SSH key on the client system and authentication
Implement a Bash script, master the files in play
Essential syntax: variables, conditions, loops
Input / output management, parameters
Some UNIX tools to manipulate the text
Practical workshop: writing a simple, complete script to deploy an application
Quick presentation of Python, interest for the administrator
Python 2 and 3, Python packaging, PyPI
Essential syntax: variables, conditions, loops
Input / output management, parameters
Essential modules, ecosystem for the administrator
Practical workshop: writing a small utility in Python handling files
Interests of source code managers
Presentation of git
Implementation: creation of a repository, simple file tracking
History management, display of differences
Understand the client / server approach, possible protocols
Know and understand the interest of major software forges
Practical workshop: setting up a local repository, tracking all scripts and training materials in git. Implementing a server using git + ssh and key authentication
Duration
2 days
Price
£ 1285
Audience
System administrators, Integrators
Prerequisites
Using Linux, Basic System Administration
Reference
DEV100124-F
The origin of the DevOps movement
The need for industrialization for operations Overview
of tools
Positioning of Ansible in the current landscape
Origin of the project
Operation, report to SSH
Installation
Practical workshop: install ansible on the control machine, prepare the knots
SSH configuration
Setting up the inventory
Ad-hoc commands
Modules: files, packages, users, services, …
Hands-on workshop: using ansible to run commands on nodes, transfer files
Introduction to playbooks and YAML
Variables and facts
Loops and conditions
Roles and inclusions
Best practices for writing playbooks
Practical workshop: write playbooks to deploy applications, pilot a complete environment with ansible
The basic modules
Structure and behavior of a module
Reuse and community: ansible-galaxy
Integration with other products: vagrant, AWS, Rackspace,…
Proprietary web interface: Ansible Tower
Practical workshop: exploiting external modules, deploying a vagrant environment with ansible
Sessions
Contact us for more informations about session date