diff --git a/examples/016_tasks_handlers/playbooks/stack_status.yml b/examples/016_tasks_handlers/playbooks/stack_status.yml index acd1b0b..6a6fea0 100644 --- a/examples/016_tasks_handlers/playbooks/stack_status.yml +++ b/examples/016_tasks_handlers/playbooks/stack_status.yml @@ -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}}" \ No newline at end of file