From 1fb4bca5a60aca9dbd77a2adcfcf4f6230fcb9d5 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 20 Oct 2023 12:02:35 +0100 Subject: [PATCH] Fix failed_when statement for role pre-tasks --- molecule/resources/converge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/molecule/resources/converge.yml b/molecule/resources/converge.yml index 3d2b5c8..8fd6e94 100644 --- a/molecule/resources/converge.yml +++ b/molecule/resources/converge.yml @@ -15,7 +15,7 @@ delay: 5 when: ansible_service_mgr == 'systemd' changed_when: false - failed_when: systemctl_status.rc > 1 + failed_when: systemctl_status.rc > 0 roles: - role: mirsg.java