ansible/test/legacy/roles/netscaler_ssl_certkey/tests/nitro/certkey.yaml

58 lines
1 KiB
YAML
Raw Normal View History

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