mirror of https://github.com/ceph/ceph-ansible.git
ceph-osd: do not ignore ceph-disk errors in journal_collocation
Signed-off-by: Alfredo Deza <adeza@redhat.com> Resolves: rhbz#1342117pull/837/head
parent
195ee33dcf
commit
d287959107
|
@ -11,7 +11,6 @@
|
||||||
# failed, this is why we check if the device is a partition too.
|
# failed, this is why we check if the device is a partition too.
|
||||||
- name: automatic prepare osd disk(s) without partitions
|
- name: automatic prepare osd disk(s) without partitions
|
||||||
command: ceph-disk prepare --cluster "{{ cluster }}" "/dev/{{ item.key }}"
|
command: ceph-disk prepare --cluster "{{ cluster }}" "/dev/{{ item.key }}"
|
||||||
ignore_errors: true
|
|
||||||
register: prepared_osds
|
register: prepared_osds
|
||||||
with_dict: ansible_devices
|
with_dict: ansible_devices
|
||||||
when:
|
when:
|
||||||
|
@ -23,7 +22,6 @@
|
||||||
|
|
||||||
- name: manually prepare osd disk(s)
|
- name: manually prepare osd disk(s)
|
||||||
command: "ceph-disk prepare --cluster {{ cluster }} {{ item.2 }}"
|
command: "ceph-disk prepare --cluster {{ cluster }} {{ item.2 }}"
|
||||||
ignore_errors: true
|
|
||||||
with_together:
|
with_together:
|
||||||
- combined_parted_results.results
|
- combined_parted_results.results
|
||||||
- combined_ispartition_results.results
|
- combined_ispartition_results.results
|
||||||
|
|
Loading…
Reference in New Issue