PyCon Pune 2018

PyCon Pune

Extending Ansible

Submitted by Florian Fuchs (@florianfuchs) on Friday, 15 September 2017

Technical level: Intermediate

Abstract

Ansible has become many people’s preferred choice to deploy and manage their
servers. With its many builtin modules and a flat learning curve it makes it
easy to get started quickly. But there are many ways to use Python to extend
Ansible far beyond its basic capabilities. This talk will dive into a number of
examples for custom modules, dynamic server inventories and plugins, showing
real-world examples from the TripleO project, an OpenStack deployment tool.

Outline

In this talk you will learn how to:

  • Create dynamic inventories to collect host information on the fly
  • Built your own custom Ansible modules
  • Write lookup plugins to access external resources in playbooks
  • Customize the playbook output
  • Test and debug your code during development

Speaker bio

Florian is a Python developer working in Red Hat’s OpenStack team. He’s also a
member of the dev team of the GNU Mailman mailing list manager.

Links

Comments

  • Kushal Das (@kushaldas) Reviewer a year ago

    Thank you for submitting the talk to PyCon Pune. The talk selection team will contact you here in case of any queries. Meanwhile, please make sure that you provide a link to the presentation slides.

Login with Twitter or Google to leave a comment