---

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

- assert:
    that: result is changed

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

- assert:
    that: result is changed

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

- assert:
    that: result is not changed

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

- assert:
    that: result is not changed

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

- assert:
    that: result is changed

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

- assert:
    that: result is changed

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

- assert:
    that: result is not changed

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

- assert:
    that: result is not changed

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

- assert:
    that: result is changed

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

- assert:
    that: result is changed

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

- assert:
    that: result is not changed

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

- assert:
    that: result is not changed
