mirror of https://github.com/ceph/ceph-ansible.git
rolling_update: Update systemd unit regex for nvme
The systemd unit regex doesn't handle nvme devices (/dev/nvmeXn1).
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1687828
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit c8442f3705
)
pull/3771/head
v3.2.11
parent
f200f1ca87
commit
fa6d9c940a
|
@ -347,7 +347,7 @@
|
||||||
when: not containerized_deployment
|
when: not containerized_deployment
|
||||||
|
|
||||||
- name: get osd unit names - container
|
- name: get osd unit names - container
|
||||||
shell: systemctl list-units | grep -E "loaded * active" | grep -oE "ceph-osd@([0-9]{1,}|[a-z]+).service"
|
shell: systemctl list-units | grep -E "loaded * active" | grep -oE "ceph-osd@([a-z0-9]+).service"
|
||||||
register: osd_names
|
register: osd_names
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: containerized_deployment
|
when: containerized_deployment
|
||||||
|
|
Loading…
Reference in New Issue