---

- include: "{{ role_path }}/tests/nitro/servicegroup/setup.yaml"
  vars:
    check_mode: yes

- assert:
    that: result|changed

- include: "{{ role_path }}/tests/nitro/servicegroup/setup.yaml"
  vars:
    check_mode: no

- assert:
    that: result|changed

- include: "{{ role_path }}/tests/nitro/servicegroup/setup.yaml"
  vars:
    check_mode: yes

- assert:
    that: not result|changed

- include: "{{ role_path }}/tests/nitro/servicegroup/setup.yaml"
  vars:
    check_mode: no

- assert:
    that: not result|changed

- include: "{{ role_path }}/tests/nitro/servicegroup/update.yaml"
  vars:
    check_mode: yes

- assert:
    that: result|changed

- include: "{{ role_path }}/tests/nitro/servicegroup/update.yaml"
  vars:
    check_mode: no

- assert:
    that: result|changed

- include: "{{ role_path }}/tests/nitro/servicegroup/update.yaml"
  vars:
    check_mode: yes

- assert:
    that: not result|changed

- include: "{{ role_path }}/tests/nitro/servicegroup/update.yaml"
  vars:
    check_mode: no

- assert:
    that: not result|changed

- include: "{{ role_path }}/tests/nitro/servicegroup/remove.yaml"
  vars:
    check_mode: yes

- assert:
    that: result|changed

- include: "{{ role_path }}/tests/nitro/servicegroup/remove.yaml"
  vars:
    check_mode: no

- assert:
    that: result|changed

- include: "{{ role_path }}/tests/nitro/servicegroup/remove.yaml"
  vars:
    check_mode: yes

- assert:
    that: not result|changed

- include: "{{ role_path }}/tests/nitro/servicegroup/remove.yaml"
  vars:
    check_mode: no

- assert:
    that: not result|changed