]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
purge: fix resolve parent device task
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 30 Jan 2018 16:27:53 +0000 (17:27 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 30 Jan 2018 16:42:26 +0000 (17:42 +0100)
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 <gabrioux@redhat.com>
(cherry picked from commit f372a4232e830856399a25e55c2ce239ac086614)
Signed-off-by: Sébastien Han <seb@redhat.com>
infrastructure-playbooks/purge-docker-cluster.yml

index fdfba0be6af0c39d3fadf523485e1b8bdbef03ee..9d331f3b394492c75618229579dc894f66bc823d 100644 (file)
                                  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 }}"