You've already forked role-check-mk-agent
Fix linting issues
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"ipaddress": "{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}"
|
||||
},
|
||||
"folder": "{{ cmk_folder | default('Unsorted') }}",
|
||||
"hostname": "{{inventory_hostname}}"
|
||||
"hostname": "{{ inventory_hostname }}"
|
||||
}
|
||||
body_format: raw
|
||||
return_content: yes
|
||||
@@ -20,7 +20,8 @@
|
||||
delegate_to: localhost
|
||||
when: cmk_add_host
|
||||
|
||||
- set_fact:
|
||||
- name: Parse result
|
||||
set_fact:
|
||||
output: "{{ res.content | from_json }}"
|
||||
when: cmk_add_host
|
||||
|
||||
|
||||
Reference in New Issue
Block a user