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