File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1212 ansible.builtin.shell :
1313 cmd : >-
1414 set -o pipefail &&
15- systemctl -a | egrep 'kolla-(barbican|blazar|cinder|cloudkitty|designate|heat|ironic|keystone|magnum|manila|neutron|nova|octavia)' |
15+ systemctl -a | grep -E 'kolla-(barbican|blazar|cinder|cloudkitty|designate|heat|ironic|keystone|magnum|manila|neutron|nova|octavia)' |
1616 awk '{ print $NF }' |
1717 xargs systemctl stop
1818 executable : " /bin/bash"
8787 cmd : >-
8888 set -o pipefail &&
8989 systemctl list-units --type=service --all --no-legend --plain |
90- egrep 'kolla-(barbican|blazar|cinder|cloudkitty|designate|heat|ironic|keystone|magnum|manila|neutron|nova|octavia)' |
90+ grep -E 'kolla-(barbican|blazar|cinder|cloudkitty|designate|heat|ironic|keystone|magnum|manila|neutron|nova|octavia)' |
9191 awk '{ print $1 }' |
9292 xargs -r systemctl restart
9393 executable : " /bin/bash"
Original file line number Diff line number Diff line change 2929 executable : " /bin/bash"
3030 cmd : >-
3131 set -o pipefail &&
32- systemctl -a | egrep 'kolla-({{ stop_service_list | join('|') }})' | awk '{ print $1 }' | xargs systemctl stop
32+ systemctl -a | grep -E 'kolla-({{ stop_service_list | join('|') }})' | awk '{ print $1 }' | xargs systemctl stop
Original file line number Diff line number Diff line change 1+ ---
2+ fixes :
3+ - |
4+ Removed ``egrep`` usage from scripts. Instances have been replaced with
5+ ``grep -E``. This resolves the warning ``egrep: warning: egrep is
6+ obsolescent; using grep -E``.
You can’t perform that action at this time.
0 commit comments