From: Dimitri Savineau Date: Tue, 12 Mar 2019 15:22:03 +0000 (-0400) Subject: rolling_update: Update systemd unit regex for nvme X-Git-Tag: v3.2.11 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=fa6d9c940acef8dad558ed9744ebd4f8454e7b55;p=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 (cherry picked from commit c8442f3705d0bd7b64fe2b14d925a82d52a052e4) --- diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index b37fee259..7872c7201 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -347,7 +347,7 @@ when: not containerized_deployment - 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 changed_when: false when: containerized_deployment