Make test detection of systemctl status slightly less strict for CentOS 7.

This commit is contained in:
Jeff Geerling 2020-04-03 12:22:16 -05:00
parent de20ffd533
commit 65269460ed

View File

@ -11,7 +11,9 @@
- name: Wait for systemd to complete initialization. # noqa 303 - name: Wait for systemd to complete initialization. # noqa 303
command: systemctl is-system-running command: systemctl is-system-running
register: systemctl_status register: systemctl_status
until: "'running' in systemctl_status.stdout" until: >
'running' in systemctl_status.stdout or
'fuzz' in systemctl_status.stdout
retries: 30 retries: 30
delay: 5 delay: 5
when: ansible_service_mgr == 'systemd' when: ansible_service_mgr == 'systemd'