Fix tmpfiles-setup wait handler
Precess column was present only for CentOS 8 and is not applicable for other distros. In the meanwhile Active column is present in all distros. Change-Id: I13605f21497c7eb8e2dd569ab90e2466bce8ac3e
This commit is contained in:
parent
1cb7920aff
commit
faedebd48b
@ -49,7 +49,7 @@
|
||||
listen: Lxc container restart
|
||||
|
||||
- name: Wait for container tmpfiles-setup finish
|
||||
raw: systemctl status systemd-tmpfiles-setup.service | grep Process | grep 'code=exited' >/dev/null
|
||||
raw: systemctl list-units systemd-tmpfiles-setup.service --no-legend | grep 'exited' >/dev/null
|
||||
register: systemd_tmpfiles
|
||||
until: systemd_tmpfiles.rc == 0
|
||||
retries: 20
|
||||
|
@ -153,7 +153,7 @@
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Wait for container tmpfiles-setup finish
|
||||
raw: systemctl status systemd-tmpfiles-setup.service | grep Process | grep 'code=exited' >/dev/null
|
||||
raw: systemctl list-units systemd-tmpfiles-setup.service --no-legend | grep 'exited' >/dev/null
|
||||
register: systemd_tmpfiles
|
||||
until: systemd_tmpfiles.rc == 0
|
||||
retries: 20
|
||||
|
Loading…
x
Reference in New Issue
Block a user