From 22d39591a42ddc4b54669d74864ebdc10c22df23 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Thu, 11 Apr 2019 16:51:03 +0200 Subject: [PATCH] osd: remove legacy file this file is not used anymore, let's remove it. Signed-off-by: Guillaume Abrioux (cherry picked from commit f899da3172a1f6a78a3e6f6fdfd22a638a276f12) --- roles/ceph-osd/tasks/check_gpt.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 roles/ceph-osd/tasks/check_gpt.yml diff --git a/roles/ceph-osd/tasks/check_gpt.yml b/roles/ceph-osd/tasks/check_gpt.yml deleted file mode 100644 index 8f72fd3ee..000000000 --- a/roles/ceph-osd/tasks/check_gpt.yml +++ /dev/null @@ -1,19 +0,0 @@ ---- -- name: check the partition status of the osd disks - command: "blkid -t PTTYPE=\"gpt\" {{ item }}" - with_items: - - "{{ devices }}" - changed_when: false - failed_when: false - check_mode: no - register: osd_partition_status_results - -- name: create gpt disk label - command: "parted -s {{ item.1 }} mklabel gpt" - with_together: - - "{{ osd_partition_status_results.results }}" - - "{{ devices }}" - changed_when: false - when: - - not item.0.get("skipped") - - item.0.get("rc", 0) != 0