Loading…
Thursday October 31, 2024 10:20 - 11:20 CET
I already showed howto work on Db2-Databases with Ansible and Python in previous IDUG sessions. This time around I'm going to guide you through the process on how to use Db2 as a configuration repository for Ansible. Runtime configuration for Ansible playbooks is usually done by the ansible inventory (usually requires a pull request) and, for runtime configuration, "extra-vars". This can be cumbersome in large environments and does not bear much flexibility. The result is usually an increase of AWX/Ansible-Tower templates for different configurations and targets. Furthermore, the templates (and surveys) get increasingly complex and uncomfortable to handle. Keeping runtime configuration data in a centralized database gives ample oportunity to create and maintain arbitrarily complex runtime configurations in one or multiple Databases with SQL so that the user does not need to know anything about Ansible at all, minimizing operational overhead.I will show how to implement this with the help of a few lines of python code. Live-elements will be pre-recorded if needed. Code will be available on GitHub.
Speakers
avatar for Norbert Munkel

Norbert Munkel

Solution Consultant, ITGAIN Consulting GmbH
I started getting in touch with IT when I got a student job at the german nuclear safety agency programming Fortran77 in 1986. I ended up in a regional data center doing all sorts of things on the distributed side. In 1999 I joined SUSE Linux in Nuremberg where I manged the international... Read More →
Thursday October 31, 2024 10:20 - 11:20 CET
1 | Breakout 1 + 2

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Share Modal

Share this link via

Or copy link