Merge "Wait for systemd-tmpfiles-setup service to complete after container restart"
This commit is contained in:
commit
1dfb674f37
@ -133,6 +133,14 @@
|
||||
tags:
|
||||
- common-lxc
|
||||
|
||||
- name: Wait for container tmpfiles-setup finish
|
||||
raw: systemctl status systemd-tmpfiles-setup.service | grep Process | grep 'code=exited' >/dev/null
|
||||
register: systemd_tmpfiles
|
||||
until: systemd_tmpfiles.rc == 0
|
||||
retries: 20
|
||||
delay: 2
|
||||
changed_when: false
|
||||
|
||||
- name: Wait for container connectivity
|
||||
wait_for_connection:
|
||||
connect_timeout: "{{ lxc_container_wait_params.connect_timeout | default(omit) }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user