summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/cs_pod
diff options
context:
space:
mode:
authorRené Moser <mail@renemoser.net>2018-08-11 09:22:14 +0200
committerGitHub <noreply@github.com>2018-08-11 09:22:14 +0200
commit041fcb2435e780d3482febe651311ad7efbfce3b (patch)
treeecf4e3c057e2540027b543af6a90ee7a070ecc04 /test/integration/targets/cs_pod
parentDisplay correct task title with strategy 'free' (fixes #43950) (diff)
downloadansible-041fcb2435e780d3482febe651311ad7efbfce3b.tar.xz
ansible-041fcb2435e780d3482febe651311ad7efbfce3b.zip
cs_pod: workaround for 4.11 API break (#43944)
Diffstat (limited to 'test/integration/targets/cs_pod')
-rw-r--r--test/integration/targets/cs_pod/tasks/main.yml49
1 files changed, 23 insertions, 26 deletions
diff --git a/test/integration/targets/cs_pod/tasks/main.yml b/test/integration/targets/cs_pod/tasks/main.yml
index 62d7fe7f0a..6c9bf47bd9 100644
--- a/test/integration/targets/cs_pod/tasks/main.yml
+++ b/test/integration/targets/cs_pod/tasks/main.yml
@@ -90,8 +90,7 @@
cs_pod:
name: "{{ cs_resource_prefix }}-pod"
zone: "{{ cs_resource_prefix }}-zone"
- start_ip: 10.100.10.102
- gateway: 10.100.10.1
+ gateway: 10.100.10.2
netmask: 255.255.255.0
register: pod
check_mode: true
@@ -110,8 +109,7 @@
cs_pod:
name: "{{ cs_resource_prefix }}-pod"
zone: "{{ cs_resource_prefix }}-zone"
- start_ip: 10.100.10.102
- gateway: 10.100.10.1
+ gateway: 10.100.10.2
netmask: 255.255.255.0
register: pod
- name: verify test update pod
@@ -119,9 +117,9 @@
that:
- pod is changed
- pod.allocation_state == "Enabled"
- - pod.start_ip == "10.100.10.102"
+ - pod.start_ip == "10.100.10.101"
- pod.end_ip == "10.100.10.254"
- - pod.gateway == "10.100.10.1"
+ - pod.gateway == "10.100.10.2"
- pod.netmask == "255.255.255.0"
- pod.zone == "{{ cs_resource_prefix }}-zone"
@@ -129,8 +127,7 @@
cs_pod:
name: "{{ cs_resource_prefix }}-pod"
zone: "{{ cs_resource_prefix }}-zone"
- start_ip: 10.100.10.102
- gateway: 10.100.10.1
+ gateway: 10.100.10.2
netmask: 255.255.255.0
register: pod
- name: verify test update pod idempotence
@@ -138,9 +135,9 @@
that:
- pod is not changed
- pod.allocation_state == "Enabled"
- - pod.start_ip == "10.100.10.102"
+ - pod.start_ip == "10.100.10.101"
- pod.end_ip == "10.100.10.254"
- - pod.gateway == "10.100.10.1"
+ - pod.gateway == "10.100.10.2"
- pod.netmask == "255.255.255.0"
- pod.zone == "{{ cs_resource_prefix }}-zone"
@@ -157,9 +154,9 @@
- pod is changed
- pod.allocation_state == "Enabled"
- pod.id == pod_origin.id
- - pod.start_ip == "10.100.10.102"
+ - pod.start_ip == "10.100.10.101"
- pod.end_ip == "10.100.10.254"
- - pod.gateway == "10.100.10.1"
+ - pod.gateway == "10.100.10.2"
- pod.netmask == "255.255.255.0"
- pod.zone == "{{ cs_resource_prefix }}-zone"
@@ -175,9 +172,9 @@
- pod is changed
- pod.allocation_state == "Disabled"
- pod.id == pod_origin.id
- - pod.start_ip == "10.100.10.102"
+ - pod.start_ip == "10.100.10.101"
- pod.end_ip == "10.100.10.254"
- - pod.gateway == "10.100.10.1"
+ - pod.gateway == "10.100.10.2"
- pod.netmask == "255.255.255.0"
- pod.zone == "{{ cs_resource_prefix }}-zone"
@@ -193,9 +190,9 @@
- pod is not changed
- pod.allocation_state == "Disabled"
- pod.id == pod_origin.id
- - pod.start_ip == "10.100.10.102"
+ - pod.start_ip == "10.100.10.101"
- pod.end_ip == "10.100.10.254"
- - pod.gateway == "10.100.10.1"
+ - pod.gateway == "10.100.10.2"
- pod.netmask == "255.255.255.0"
- pod.zone == "{{ cs_resource_prefix }}-zone"
@@ -212,9 +209,9 @@
- pod is changed
- pod.allocation_state == "Disabled"
- pod.id == pod_origin.id
- - pod.start_ip == "10.100.10.102"
+ - pod.start_ip == "10.100.10.101"
- pod.end_ip == "10.100.10.254"
- - pod.gateway == "10.100.10.1"
+ - pod.gateway == "10.100.10.2"
- pod.netmask == "255.255.255.0"
- pod.zone == "{{ cs_resource_prefix }}-zone"
@@ -230,9 +227,9 @@
- pod is changed
- pod.allocation_state == "Enabled"
- pod.id == pod_origin.id
- - pod.start_ip == "10.100.10.102"
+ - pod.start_ip == "10.100.10.101"
- pod.end_ip == "10.100.10.254"
- - pod.gateway == "10.100.10.1"
+ - pod.gateway == "10.100.10.2"
- pod.netmask == "255.255.255.0"
- pod.zone == "{{ cs_resource_prefix }}-zone"
@@ -249,9 +246,9 @@
- pod is not changed
- pod.allocation_state == "Enabled"
- pod.id == pod_origin.id
- - pod.start_ip == "10.100.10.102"
+ - pod.start_ip == "10.100.10.101"
- pod.end_ip == "10.100.10.254"
- - pod.gateway == "10.100.10.1"
+ - pod.gateway == "10.100.10.2"
- pod.netmask == "255.255.255.0"
- pod.zone == "{{ cs_resource_prefix }}-zone"
@@ -268,9 +265,9 @@
- pod is changed
- pod.id == pod_origin.id
- pod.allocation_state == "Enabled"
- - pod.start_ip == "10.100.10.102"
+ - pod.start_ip == "10.100.10.101"
- pod.end_ip == "10.100.10.254"
- - pod.gateway == "10.100.10.1"
+ - pod.gateway == "10.100.10.2"
- pod.netmask == "255.255.255.0"
- pod.zone == "{{ cs_resource_prefix }}-zone"
@@ -286,9 +283,9 @@
- pod is changed
- pod.id == pod_origin.id
- pod.allocation_state == "Enabled"
- - pod.start_ip == "10.100.10.102"
+ - pod.start_ip == "10.100.10.101"
- pod.end_ip == "10.100.10.254"
- - pod.gateway == "10.100.10.1"
+ - pod.gateway == "10.100.10.2"
- pod.netmask == "255.255.255.0"
- pod.zone == "{{ cs_resource_prefix }}-zone"