Checkmk / ansible-collection-checkmk.general

The official Checkmk Ansible collection - brought to you by the Checkmk company.
https://galaxy.ansible.com/checkmk/general
GNU General Public License v3.0
112 stars 52 forks source link

[FEED]Agent download fails in distributed setup #532

Open HaZet1968 opened 5 months ago

HaZet1968 commented 5 months ago

Please verify first that your feedback is not already reported here. If possible and useful provide additional information below. This is optional however.

Provide your feedback As mentioned here https://forum.checkmk.com/t/agent-download-fails-in-distributed-setup/36610/3 Agent download fails in distributed setups. Unfortunatly I have to work in an closed environment so i cannot make a pull request. Instead I added my changes in the attached main.txt (must be renamed to main.yml, see below). Maybe someone can make a pull request out of it.

Component Name

Component Name: Agent download I added three new configuration variables: checkmk_agent_download_server_protocol checkmk_agent_download_server checkmk_agent_download_site

I changed checkmk/general/roles/agent/vars/main.yml to the following (see attachment) main.txt works for me

Ansible Version

$ ansible --version
2.12.10

Collection Version

$ ansible-galaxy collection list
4.1.0

Environment

checkmk 2.2.0p18

Screenshots

Additional context

robin-checkmk commented 5 months ago

Hi @HaZet1968 and thanks for your contribution! Just making sure, I understand your proposal correctly: You want to add the new variables to be able to set a server different from checkmk_agent_server and checkmk_agent_registration_server, right?