mirror of https://github.com/ceph/ceph-ansible.git
break it into lines since you already use the string block synta and fix disable it here and enable again in later task
parent
62c37042fe
commit
14c189fee5
|
@ -90,7 +90,10 @@
|
|||
|
||||
- name: make partitions on new ssd
|
||||
shell: >
|
||||
sgdisk --new={{item.item[1].index}}:0:+{{item.item[1].size}} "--change-name={{ item.item[1].index }}:ceph journal" --typecode={{ item.item[1].index }}:{{ journal_typecode }} --partition-guid={{ item.item[1].index }}:{{ item.stdout }} --mbrtogpt -- {{ item.item[0].device_name }}
|
||||
sgdisk --new={{item.item[1].index}}:0:+{{item.item[1].size}} "--change-name={{ item.item[1].index }}:ceph journal"
|
||||
--typecode={{ item.item[1].index }}:{{ journal_typecode }}
|
||||
--partition-guid={{ item.item[1].index }}:{{ item.stdout }}
|
||||
--mbrtogpt -- {{ item.item[0].device_name }}
|
||||
with_items:
|
||||
- "{{ osds_uuid.results }}"
|
||||
|
||||
|
@ -98,7 +101,7 @@
|
|||
service:
|
||||
name: "ceph-osd@{{ item.item[1].osd_id }}"
|
||||
state: stopped
|
||||
enabled: no
|
||||
enabled: yes
|
||||
with_items:
|
||||
- "{{ osds_uuid.results }}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue