diff --git a/check_mk.yml b/check_mk.yml index 4971697..0b8cbb8 100644 --- a/check_mk.yml +++ b/check_mk.yml @@ -9,11 +9,12 @@ - name: get info for host server1 from check_mk uri: url: "{{ check_mk_url }}?{{ check_mk_body }}" - method: GET + method: POST body_format: form-urlencoded body: hostname: "{{ ansible_hostname }}.{{ ansible_domain }}" return_content: True +# validate_certs: no # headers: # Content-Type: application/json # Accept: application/json diff --git a/inventories/inventory_home b/inventories/inventory_home deleted file mode 100644 index 7626d13..0000000 --- a/inventories/inventory_home +++ /dev/null @@ -1,9 +0,0 @@ ---- -all: - hosts: - raspberrypi1.seboto.net: - raspberrypi2.seboto.net: - raspberrypi3.seboto.net: - raspberrypi4.seboto.net: - raspberrypi5.seboto.net: -... diff --git a/inventories/inventory_home.yml b/inventories/inventory_home.yml deleted file mode 100644 index 7626d13..0000000 --- a/inventories/inventory_home.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -all: - hosts: - raspberrypi1.seboto.net: - raspberrypi2.seboto.net: - raspberrypi3.seboto.net: - raspberrypi4.seboto.net: - raspberrypi5.seboto.net: -... diff --git a/inventories/inventory_jens b/inventories/inventory_jens deleted file mode 100644 index 90908d7..0000000 --- a/inventories/inventory_jens +++ /dev/null @@ -1,31 +0,0 @@ ---- -all: - hosts: - server1.seboto.net: - ansible_user: jens - children: - seboto: - hosts: - srv1.seboto.de: - srv2.seboto.de: - srv3.seboto.de: - pi: - hosts: - raspberrypi1.seboto.net: - ansible_user: pi - raspberrypi2.seboto.net: - ansible_user: pi - raspberrypi3.seboto.net: - ansible_user: pi - raspberrypi4.seboto.net: - ansible_user: pi - raspberrypi5.seboto.net: - ansible_user: pi - vip: - hosts: - srv2.seboto.de: - raspberrypi3.seboto.net: - ansible_user: pi - vars: - ansible_python_interpreter: /usr/bin/python3 -... diff --git a/inventories/inventory_jens.ini b/inventories/inventory_jens.ini index 1527964..ee0ebcf 100644 --- a/inventories/inventory_jens.ini +++ b/inventories/inventory_jens.ini @@ -9,6 +9,7 @@ alma1.seboto.net srv1.seboto.de srv2.seboto.de srv3.seboto.de +two.seboto.de [pi] raspberrypi1.seboto.net diff --git a/inventories/inventory_jens.yml b/inventories/inventory_jens.yml deleted file mode 100644 index 90908d7..0000000 --- a/inventories/inventory_jens.yml +++ /dev/null @@ -1,31 +0,0 @@ ---- -all: - hosts: - server1.seboto.net: - ansible_user: jens - children: - seboto: - hosts: - srv1.seboto.de: - srv2.seboto.de: - srv3.seboto.de: - pi: - hosts: - raspberrypi1.seboto.net: - ansible_user: pi - raspberrypi2.seboto.net: - ansible_user: pi - raspberrypi3.seboto.net: - ansible_user: pi - raspberrypi4.seboto.net: - ansible_user: pi - raspberrypi5.seboto.net: - ansible_user: pi - vip: - hosts: - srv2.seboto.de: - raspberrypi3.seboto.net: - ansible_user: pi - vars: - ansible_python_interpreter: /usr/bin/python3 -... diff --git a/inventories/inventory_jh b/inventories/inventory_jh deleted file mode 100644 index 7601bd5..0000000 --- a/inventories/inventory_jh +++ /dev/null @@ -1,25 +0,0 @@ -[seboto] -srv1.seboto.de -srv2.seboto.de -srv3.seboto.de - -[pi] -raspberrypi1.seboto.net -raspberrypi2.seboto.net -raspberrypi3.seboto.net -raspberrypi4.seboto.net -raspberrypi5.seboto.net - -[one] -srv1.seboto.de -raspberrypi1.seboto.net - -[vip] -srv2.seboto.de -raspberrypi3.seboto.net - -[pi:vars] -ansible_user=pi - -[all:vars] -ansible_python_interpreter=/usr/bin/python3 diff --git a/inventories/inventory_jh.ini b/inventories/inventory_jh.ini index 7601bd5..e148d27 100644 --- a/inventories/inventory_jh.ini +++ b/inventories/inventory_jh.ini @@ -2,6 +2,7 @@ srv1.seboto.de srv2.seboto.de srv3.seboto.de +two.seboto.de [pi] raspberrypi1.seboto.net diff --git a/inventories/inventory_pi.yml b/inventories/inventory_pi.yml deleted file mode 100644 index 7626d13..0000000 --- a/inventories/inventory_pi.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -all: - hosts: - raspberrypi1.seboto.net: - raspberrypi2.seboto.net: - raspberrypi3.seboto.net: - raspberrypi4.seboto.net: - raspberrypi5.seboto.net: -... diff --git a/inventories/inventory_seboto b/inventories/inventory_seboto deleted file mode 100644 index 545871f..0000000 --- a/inventories/inventory_seboto +++ /dev/null @@ -1,7 +0,0 @@ ---- -all: - hosts: - srv1.seboto.de: - srv2.seboto.de: - srv3.seboto.de: -... diff --git a/inventories/inventory_seboto.ini b/inventories/inventory_seboto.ini index ab63eee..82e38d4 100644 --- a/inventories/inventory_seboto.ini +++ b/inventories/inventory_seboto.ini @@ -2,3 +2,4 @@ srv1.seboto.de srv2.seboto.de srv3.seboto.de +two.seboto.de diff --git a/inventories/inventory_seboto.yml b/inventories/inventory_seboto.yml deleted file mode 100644 index 545871f..0000000 --- a/inventories/inventory_seboto.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -all: - hosts: - srv1.seboto.de: - srv2.seboto.de: - srv3.seboto.de: -...