From 65269460ed67a77d1615958d2ca060d5fd311e70 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Fri, 3 Apr 2020 12:22:16 -0500 Subject: [PATCH] Make test detection of systemctl status slightly less strict for CentOS 7. --- molecule/default/converge.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml index 18b5b03..f4ea24b 100644 --- a/molecule/default/converge.yml +++ b/molecule/default/converge.yml @@ -11,7 +11,9 @@ - name: Wait for systemd to complete initialization. # noqa 303 command: systemctl is-system-running register: systemctl_status - until: "'running' in systemctl_status.stdout" + until: > + 'running' in systemctl_status.stdout or + 'fuzz' in systemctl_status.stdout retries: 30 delay: 5 when: ansible_service_mgr == 'systemd'