Hi,
Looking att blogposts, docs and the t_systems_mms.icinga_director project I was thrilled to start automate my fresh install of a single master. I have allready got my bootstrapping of icinga2, icingaweb2, director, icingadb and the dependencis needed - with ansible, works great.
When I try to use the t_systems_mms.icinga_director collection to declare basic structure for service/host templated I got stuck. I used the docs and can use curl to create stuff and deploy to director but when using the collection with ansible it fails. First question, is the t_systems_mms.icinga_director collectiion compatible with director 1.10.x?
Ok, great news, what is the bare minimum for ex creating a base service template running ansible from my laptop? Using hosts: localhost exits with fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “bad return code while creating: 404. Error message: HTTP Error 404: Not Found”} using an inventory file with my icingaweb2 server does the same. I assume its me not understand how to use the collection
I did some more testing, got it to work creating a basic service template (had missed that I had to use the full url to icingaweb2 included, ex https://master.example.com/icingaweb2), added one more task to apply the changes to director, got an error module not excists, then I noticed the latest realese, 1.33.0 (used 1.32.2 before) updated to latest, then the icinga deploy module started to work! Great! I have to do some more extended testing but it looks like it works now Is it possible to read about changes included when new versions of the collection is realesed?