Fix linting issues

This commit is contained in:
2020-10-13 23:40:02 +13:00
parent d646952ef5
commit 9d974bdf0c
7 changed files with 14 additions and 9 deletions

View File

@@ -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