X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Finfra-ansible.git;a=blobdiff_plain;f=roles%2Fcleanup_disks%2Ftasks%2Fdestroy_data_and_partitions.yml;fp=roles%2Fcleanup_disks%2Ftasks%2Fdestroy_data_and_partitions.yml;h=b1125ff5a62281ccfd7cd3a7a620a348efe350d5;hp=7e859042e0c0c0a791f449dc1432ea5a1ef1c907;hb=7385fe7b00e999a7c89edf0523708563c7947b17;hpb=e5776805848728d0aac93078223585f725b84c5e diff --git a/roles/cleanup_disks/tasks/destroy_data_and_partitions.yml b/roles/cleanup_disks/tasks/destroy_data_and_partitions.yml index 7e85904..b1125ff 100644 --- a/roles/cleanup_disks/tasks/destroy_data_and_partitions.yml +++ b/roles/cleanup_disks/tasks/destroy_data_and_partitions.yml @@ -15,7 +15,7 @@ # limitations under the License. - name: check whether disks exist and are block devices - stat: path={{ item }} + stat: path={{ item }} follow=true with_items: "{{ disks }}" register: disks_stat