---

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

- assert:
    that: result|changed

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

- assert:
    that: result|changed

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

- assert:
    that: not result|changed

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

- assert:
    that: not result|changed

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

- assert:
    that: result|changed

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

- assert:
    that: result|changed

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

- assert:
    that: not result|changed

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

- assert:
    that: not result|changed
