Describe the festure
The API call for creating a new host, has a parameter "bake_agent", that can be set to true to "bake the agents for the just created hosts".
Adding this as an optional parameter to the host module would eliminate the need to rebuild the agent in a seperate task and replicate the behaviour when creating a new host in GUI.
Component Name
checkmk.general.host
Ansible Version
Paste verbatim output from ansible --version between triple backticks.
ansible [core 2.14.18]
config file = /etc/ansible/ansible.cfg
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.9/site-packages/ansible
ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
executable location = /bin/ansible
python version = 3.9.25 (main, Apr 17 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-14)] (/usr/bin/python3)
jinja version = 3.1.2
libyaml = True
Collection Version
Paste verbatim output fromansible-galaxy collection list between triple backticks.
Environment
RHEL9
Checkmk 2.4
Screenshots

Describe the festure
The API call for creating a new host, has a parameter "bake_agent", that can be set to true to "bake the agents for the just created hosts".
Adding this as an optional parameter to the host module would eliminate the need to rebuild the agent in a seperate task and replicate the behaviour when creating a new host in GUI.
Component Name
checkmk.general.host
Ansible Version
Collection Version
Environment
RHEL9
Checkmk 2.4
Screenshots