mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-23 16:22:59 +03: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
|
||||
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'
|
||||
|
Loading…
Reference in New Issue
Block a user