mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-11-18 19:10:43 +01:00
Make test detection of systemctl status slightly less strict for CentOS 7.
This commit is contained in:
parent
de20ffd533
commit
65269460ed
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user