From 00f39683f30cdea22c96c1eed48458d3d90142a7 Mon Sep 17 00:00:00 2001 From: Daniel Matthews Date: Fri, 20 Oct 2023 14:11:43 +0100 Subject: [PATCH] Check for systemctl return code greater than 1 --- 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 455d555..2ef104b 100644 --- a/molecule/resources/converge.yml +++ b/molecule/resources/converge.yml @@ -13,7 +13,7 @@ delay: 5 when: ansible_service_mgr == 'systemd' changed_when: false - failed_when: systemctl_status.rc > 0 + failed_when: systemctl_status.rc > 1 tasks: - name: Include ansible-role-firewalld