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>
pull/3748/head
Dimitri Savineau 2019-03-12 11:22:03 -04:00 committed by mergify[bot]
parent 4cca366102
commit c8442f3705
1 changed files with 1 additions and 1 deletions

View File

@ -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