Ansible and Etnetera


Details
Agenda
• 18:00 Introduction (Richard Fojta)
• 18:05 Ansible and generated values (David Karban)
Sometimes, you need to calculate a new port number, generate user id, etc. I'll describe how to do it the Ansible way.
• 18:45 Ansible 2.0 and its usage for unified management of RouterOS Mikrotik devices (Daniel Pospíšil)
• 19:25 Ansible Modules - Do you use shell tasks in your playbooks often? Are such tasks long and complicated? Maybe you should consider refactoring and encapsulate such code as a module. Why is it better? You gain full potential of programming language (of your choice). Your code can be easily reused. DRY principle is obeyed. It is much easier to create an idempotent playbook than with shell tasks.We will show you how simple is writing an Ansible module.
We will guide you through practical examples. We will examine a module handling disk partitioning. The module is written in Python. The second example will be a module written in BASH that handles installing (emerging) packages in Gentoo GNU/Linux. (Tomáš Kadlec)
20:00 Pub - Brewery Holesovice (or other)

Ansible and Etnetera