Add host to Icinga2 directory throught ansible script

Hi!

For some days I’ve been looking for a solution to add a host in Icinga2, and deploy it automatically using ansible.

I’ve been able to add the host in Icinga2 using ansible, but I couldn’t find a way to deploy the changes automatically.

Is there a way to deploy changes from ansible playbook?

It’s true that I was able to apply changes with automatic jobs, but this doesn’t help me, because it will deploy all changes from all users.

Thanks,

David

I don’t understand what you mean with “deploy changes”, therefore, I give you some hints for getting more information:

Roland,
Thanks for the links you provided!