Saturday 11:30 a.m.–noon
Ansible beyond YAML
- Audience level:
- Systems Administration
Ansible is a configuration management tool whose primary mode of operation involve using YAML to describe deployments and operations. However, it can do much more and be extended using python, which is what we will explore in this talk. Among others, we will see the plugins system for various part of the tool and how to reuse Ansible in a script.
We will first explain the basics of ansible common usage ( ie, using yaml playbook for configuration management and orchestation ). Then, we will explore the plugins and modules systems, showing what can be extended from inventory, connexion and modules, and how people can add their own python code in the mix. Then we will conclude by looking at Ansible own API, to write specific code that reuse it to run on several systems.