You've already forked role-check-mk-agent
Allow override of IP address
This commit is contained in:
@@ -39,3 +39,5 @@ cmk_fresh_install: false
|
|||||||
# CheckMK is already installed.
|
# CheckMK is already installed.
|
||||||
# Breaks idempotence but allows role to be used to force upgrade agents.
|
# Breaks idempotence but allows role to be used to force upgrade agents.
|
||||||
cmk_force_install: false
|
cmk_force_install: false
|
||||||
|
|
||||||
|
cmk_guest_ip: "{{ ansible_host }}"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
"attributes": {
|
"attributes": {
|
||||||
"tag_criticality": "prod",
|
"tag_criticality": "prod",
|
||||||
"tag_agent": "cmk-agent",
|
"tag_agent": "cmk-agent",
|
||||||
"ipaddress": "{{ ansible_host }}"
|
"ipaddress": "{{ cmk_host_ip }}"
|
||||||
},
|
},
|
||||||
"folder": "{{ cmk_folder | default('Unsorted') }}",
|
"folder": "{{ cmk_folder | default('Unsorted') }}",
|
||||||
"hostname": "{{ instance_name | default(inventory_hostname) }}"
|
"hostname": "{{ instance_name | default(inventory_hostname) }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user