This commit is contained in:
2026-05-14 17:11:56 +02:00
parent 559e7ae3d3
commit 873cdaa756

View File

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