From: Guillaume Abrioux Date: Tue, 30 Jan 2018 16:27:53 +0000 (+0100) Subject: purge: fix resolve parent device task X-Git-Tag: v3.0.22~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a40b4a9cb8f13c530a453a2cf0e024c09a6eb46e;p=ceph-ansible.git purge: fix resolve parent device task This is a typo caused by leftover. It was previously written like this : `shell: echo /dev/$(lsblk -no pkname "{{ item }}") }}")` and has been rewritten to : `shell: $(lsblk --nodeps -no pkname "{{ item }}") }}")` because we are appending later the '/dev/' in the next task. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1540137 Signed-off-by: Guillaume Abrioux (cherry picked from commit f372a4232e830856399a25e55c2ce239ac086614) Signed-off-by: Sébastien Han --- diff --git a/infrastructure-playbooks/purge-docker-cluster.yml b/infrastructure-playbooks/purge-docker-cluster.yml index fdfba0be6..9d331f3b3 100644 --- a/infrastructure-playbooks/purge-docker-cluster.yml +++ b/infrastructure-playbooks/purge-docker-cluster.yml @@ -349,7 +349,7 @@ ceph_wal_partition_to_erase_path.get('stdout_lines', []) }}" - name: resolve parent device - shell: $(lsblk --nodeps -no pkname "{{ item }}") + command: lsblk --nodeps -no pkname "{{ item }}" register: tmp_resolved_parent_device with_items: - "{{ combined_devices_list }}"