summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/cs_configuration/tasks/zone.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/cs_configuration/tasks/zone.yml')
-rw-r--r--test/integration/targets/cs_configuration/tasks/zone.yml59
1 files changed, 0 insertions, 59 deletions
diff --git a/test/integration/targets/cs_configuration/tasks/zone.yml b/test/integration/targets/cs_configuration/tasks/zone.yml
deleted file mode 100644
index cd9333fa3c..0000000000
--- a/test/integration/targets/cs_configuration/tasks/zone.yml
+++ /dev/null
@@ -1,59 +0,0 @@
----
-- name: test configuration zone
- cs_configuration:
- name: use.external.dns
- zone: "{{ test_cs_configuration_zone }}"
- value: false
- register: config
-- name: verify test configuration zone
- assert:
- that:
- - config is successful
-
-- name: test update configuration zone
- cs_configuration:
- name: use.external.dns
- zone: "{{ test_cs_configuration_zone }}"
- value: true
- register: config
-- name: verify update configuration zone
- assert:
- that:
- - config is successful
- - config is changed
- - config.value == "true"
- - config.name == "use.external.dns"
- - config.scope == "zone"
- - config.zone == "{{ test_cs_configuration_zone }}"
-
-- name: test update configuration zone idempotence
- cs_configuration:
- name: use.external.dns
- zone: "{{ test_cs_configuration_zone }}"
- value: true
- register: config
-- name: verify update configuration zone idempotence
- assert:
- that:
- - config is successful
- - config is not changed
- - config.value == "true"
- - config.name == "use.external.dns"
- - config.scope == "zone"
- - config.zone == "{{ test_cs_configuration_zone }}"
-
-- name: test reset configuration zone
- cs_configuration:
- name: use.external.dns
- zone: "{{ test_cs_configuration_zone }}"
- value: false
- register: config
-- name: verify reset configuration zone
- assert:
- that:
- - config is successful
- - config is changed
- - config.value == "false"
- - config.name == "use.external.dns"
- - config.scope == "zone"
- - config.zone == "{{ test_cs_configuration_zone }}"