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 12
12
ansible.builtin.shell :
13
13
cmd : >-
14
14
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)' |
16
16
awk '{ print $NF }' |
17
17
xargs systemctl stop
18
18
executable : " /bin/bash"
87
87
cmd : >-
88
88
set -o pipefail &&
89
89
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)' |
91
91
awk '{ print $1 }' |
92
92
xargs -r systemctl restart
93
93
executable : " /bin/bash"
Original file line number Diff line number Diff line change 29
29
executable : " /bin/bash"
30
30
cmd : >-
31
31
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