From de20ffd5332fb00e7f86119184ce96dc4b896253 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Fri, 3 Apr 2020 12:01:47 -0500 Subject: [PATCH] Another attempt to get Fedora 31's dnf issues resolved in testing. --- molecule/default/converge.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml index 77958f6..18b5b03 100644 --- a/molecule/default/converge.yml +++ b/molecule/default/converge.yml @@ -9,7 +9,11 @@ when: ansible_os_family == 'Debian' - name: Wait for systemd to complete initialization. # noqa 303 - command: systemctl status systemd-tmpfiles-setup.service + command: systemctl is-system-running + register: systemctl_status + until: "'running' in systemctl_status.stdout" + retries: 30 + delay: 5 when: ansible_service_mgr == 'systemd' changed_when: false