Merge pull request #905 from chengweiv5/remove-dup-option

sgdisk: remove duplicated option `-g`
pull/906/head
Leseb 2016-07-26 11:11:20 +02:00 committed by GitHub
commit 80417dba2d
1 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@
# keep the current flow of the task. # keep the current flow of the task.
# See: https://github.com/ceph/ceph-ansible/issues/759 # See: https://github.com/ceph/ceph-ansible/issues/759
- name: fix partitions gpt header or labels of the osd disks - name: fix partitions gpt header or labels of the osd disks
shell: "sgdisk --zap-all --clear --mbrtogpt -g -- {{ item.1 }} || sgdisk --zap-all --clear --mbrtogpt -g -- {{ item.1 }}" shell: "sgdisk --zap-all --clear --mbrtogpt -- {{ item.1 }} || sgdisk --zap-all --clear --mbrtogpt -- {{ item.1 }}"
with_together: with_together:
- combined_osd_partition_status_results.results - combined_osd_partition_status_results.results
- devices - devices
@ -89,7 +89,7 @@
- item.0.rc != 0 - item.0.rc != 0
- name: fix partitions gpt header or labels of the osd disks (autodiscover disks) - name: fix partitions gpt header or labels of the osd disks (autodiscover disks)
shell: "sgdisk --zap-all --clear --mbrtogpt -g -- '/dev/{{ item.0.item.key }}' || sgdisk --zap-all --clear --mbrtogpt -g -- '/dev/{{ item.0.item.key }}'" shell: "sgdisk --zap-all --clear --mbrtogpt -- '/dev/{{ item.0.item.key }}' || sgdisk --zap-all --clear --mbrtogpt -- '/dev/{{ item.0.item.key }}'"
with_together: with_together:
- combined_osd_partition_status_results.results - combined_osd_partition_status_results.results
- ansible_devices - ansible_devices
@ -103,7 +103,7 @@
- item.0.rc != 0 - item.0.rc != 0
- name: fix partitions gpt header or labels of the journal devices - name: fix partitions gpt header or labels of the journal devices
shell: "sgdisk --zap-all --clear --mbrtogpt -g -- {{ item.1 }} || sgdisk --zap-all --clear --mbrtogpt -g -- {{ item.1 }}" shell: "sgdisk --zap-all --clear --mbrtogpt -- {{ item.1 }} || sgdisk --zap-all --clear --mbrtogpt -- {{ item.1 }}"
with_together: with_together:
- journal_partition_status.results - journal_partition_status.results
- raw_journal_devices - raw_journal_devices