File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3131 register : inspection
3232
3333 - name : Ensure the {{ container_name }} container is running
34- ansible.builtin.command : systemctl start kolla-{{ container_name }}-container.service # noqa command-instead-of-module
34+ ansible.builtin.command : systemctl start kolla-{{ container_name }}-container.service # noqa command-instead-of-module
3535 when : inspection.stdout == 'false'
3636
3737 - name : Wait for the {{ container_name }} container to reach state 'Running'
7070 ansible.builtin.shell :
7171 cmd : >-
7272 set -o pipefail &&
73- systemctl -a | egrep 'kolla-(barbican|blazar|cinder|cloudkitty|designate|heat|ironic|keystone|magnum|manila|neutron|nova|octavia)' |
73+ systemctl list-units --type=service --all --no-legend --plain |
74+ egrep 'kolla-(barbican|blazar|cinder|cloudkitty|designate|heat|ironic|keystone|magnum|manila|neutron|nova|octavia)' |
7475 awk '{ print $1 }' |
75- xargs systemctl restart
76+ xargs -r systemctl restart
7677 executable : " /bin/bash"
You can’t perform that action at this time.
0 commit comments