|
|
|
---
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/setup.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: yes
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is changed
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/setup.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: no
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is changed
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/setup.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: yes
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is not changed
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/setup.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: no
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is not changed
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/update.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: yes
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is changed
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/update.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: no
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is changed
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/update.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: yes
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is not changed
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/update.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: no
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is not changed
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/default_only.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: yes
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is changed
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/default_only.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: no
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is changed
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/default_only.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: yes
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is not changed
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/default_only.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: no
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is not changed
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/remove.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: yes
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is changed
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/remove.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: no
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is changed
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/remove.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: yes
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is not changed
|
|
|
|
|
|
|
|
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/remove.yaml"
|
|
|
|
vars:
|
|
|
|
check_mode: no
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: result is not changed
|