Config Management Camp 2024 Ghent

Evgeni Golov

Debian Developer, Red Hat Engineer, ♥ automation

The speaker's profile picture

Sessions

02-06
14:50
50min
Maintaining over 80 Ansible modules: 8 years later
Evgeni Golov

The Foreman community maintains a collection of over 80 Ansible modules for interaction with the Foreman API and the various plugin APIs. At cfgmgmtcamp 2020 we talked about the first four years of that journey, at cfgmgmtcamp 2023 we talked about the next three years and we fully intend to make this talk a regular thing at every camp!

Today we want to talk what happened in that one year, which promises we did (not) deliver and what challenges we had.
Including:

And of course we will also talk about what we think is next!

Foreman
B.3.037
02-06
15:55
50min
Generating Ansible modules for REST APIs without AI
Evgeni Golov, Matthias Dellweg

Writing Ansible modules is a tedious job.
Especially if all you do is to copy over the models from your app.
Especially if you want to have a module for each model, and you have hundreds of them.

Assuming the API has an API definition with OpenAPI/Swagger or Apipie, we can use the data provided by those tools to generate Ansible modules without much effort.

We'll be looking at tools like ansible.content_builder and apinsible for generating the modules, but also at general best practices how to organize a collection of modules to ensure new modules are easy to add and maintain.

Ansible
B.1.017