Skip to content

[FEATURE] Make bake_agent configurable when creating a new host #1122

Description

@ms0mmer

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.

checkmk.general       7.7.0

Environment
RHEL9
Checkmk 2.4

Screenshots

Image

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestfeedbackGeneral feedback

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions