mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1800 from ceph/wip-osd-start-fix
ceph-osd: Fix osd start sequencepull/1855/merge
commit
ef8d37dd0d
|
@ -9,6 +9,8 @@
|
||||||
failed_when: false
|
failed_when: false
|
||||||
always_run: true
|
always_run: true
|
||||||
register: osd_id
|
register: osd_id
|
||||||
|
until: osd_id.stdout_lines|length == devices|unique|length
|
||||||
|
retries: 10
|
||||||
|
|
||||||
- name: ensure systemd service override directory exists
|
- name: ensure systemd service override directory exists
|
||||||
file:
|
file:
|
||||||
|
@ -32,5 +34,6 @@
|
||||||
service:
|
service:
|
||||||
name: ceph-osd@{{ item }}
|
name: ceph-osd@{{ item }}
|
||||||
state: started
|
state: started
|
||||||
|
enabled: true
|
||||||
with_items: "{{ (osd_id|default({})).stdout_lines|default([]) }}"
|
with_items: "{{ (osd_id|default({})).stdout_lines|default([]) }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
Loading…
Reference in New Issue