As we all know we have icinga2 node wizard whil will prompts us for the inputs to setup agent/slave installation on target hosts , So can you help me through the documentation to automate in setting up slave agents in python/ansible.
there is a wrapper script that pushes the information to the agent, you can get a sample of such a script you can check the agent install bash that is generated in director, when a host is designated as an agent.