From da2b54e47980b9a52be75611fc4d86762563c699 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 12 Jan 2024 14:16:54 +0000 Subject: [PATCH] Check containre state is Running, rather than status (which may be restarting) --- playbooks/molecule/resources/monitoring/verify.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/molecule/resources/monitoring/verify.yml b/playbooks/molecule/resources/monitoring/verify.yml index f91e9528..795acf48 100644 --- a/playbooks/molecule/resources/monitoring/verify.yml +++ b/playbooks/molecule/resources/monitoring/verify.yml @@ -22,7 +22,7 @@ ansible.builtin.assert: that: - item.exists - - item.container.State.Status == "running" + - item.container.State.Running loop: "{{ container_info.results }}" - name: Check monitoring client