disk wipeoff: Fix shell syntax for missing disk 18/2118/7
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 11 Dec 2019 17:06:34 +0000 (18:06 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 13 Dec 2019 15:13:40 +0000 (16:13 +0100)
commitb2e13865c2b899ce48148879da20323bd9bc988c
treeb0d24ec1fba881eb2de5b8bc9b0dda903e49825b
parent3a7fca60d2a33657024ad83011ee233c879b416a
disk wipeoff: Fix shell syntax for missing disk

When one of the disks defined in the vendors/product configuration
files is not present on the system, the wipeoff commands fail due to
likely broken shell syntax and duplicate commands.

Signed-off-by: Alexandru Antone <Alexandru.Antone@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Change-Id: I667d85bb0b3e47ae5297d8eb3b16df84bdc7317a
infra-ansible.spec
playbooks/destroy_data_and_partitions.yml
roles/cleanup_disks/tasks/destroy_data_and_partitions.yml