]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
osd: remove legacy file
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 11 Apr 2019 14:51:03 +0000 (16:51 +0200)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Fri, 12 Apr 2019 00:45:21 +0000 (00:45 +0000)
this file is not used anymore, let's remove it.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit f899da3172a1f6a78a3e6f6fdfd22a638a276f12)

roles/ceph-osd/tasks/check_gpt.yml [deleted file]

diff --git a/roles/ceph-osd/tasks/check_gpt.yml b/roles/ceph-osd/tasks/check_gpt.yml
deleted file mode 100644 (file)
index 8f72fd3..0000000
+++ /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