item item item content
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
register: app_index
|
||||
|
||||
- fail: msg="index failed to return content"
|
||||
when: ("Hello, from sunny " ~ item.item ~ "!") not in item.content
|
||||
when: ("Hello, from sunny " ~ item.content ~ "!") not in item.content
|
||||
loop: "{{app_index.results}}"
|
||||
|
||||
- name: verify backend db response
|
||||
@@ -43,7 +43,7 @@
|
||||
register: app_db
|
||||
|
||||
- fail: msg="db failed to return content"
|
||||
when: ("Database Connected from " ~ item.item ~ "!") not in item.content
|
||||
when: ("Database Connected from " ~ item.content ~ "!") not in item.content
|
||||
loop: "{{app_db.results}}"
|
||||
|
||||
- hosts: control
|
||||
@@ -57,7 +57,7 @@
|
||||
register: lb_connectivity
|
||||
|
||||
- fail: msg="index failed to return content"
|
||||
when: ("Hello, from sunny " ~ item.item ~ "!") not in item.content
|
||||
when: ("Hello, from sunny " ~ item.content ~ "!") not in item.content
|
||||
loop: "{{lb_connectivity.results}}"
|
||||
|
||||
- name: verify end-to-end db response
|
||||
@@ -66,5 +66,5 @@
|
||||
register: lb_db
|
||||
|
||||
- fail: msg="db failed to return content"
|
||||
when: ("Database Connected from " ~ item.item ~ "!") not in item.content
|
||||
when: ("Database Connected from " ~ item.content ~ "!") not in item.content
|
||||
loop: "{{lb_db.results}}"
|
||||
Reference in New Issue
Block a user