mirror of https://github.com/ceph/ceph-ansible.git
osd: refact include of `activate_osds.yml`
remove duplicate code. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/1883/head
parent
383aa68be9
commit
49ad8528e5
|
@ -41,6 +41,12 @@
|
|||
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
||||
static: False
|
||||
|
||||
- include: ./activate_osds.yml
|
||||
when:
|
||||
- not containerized_deployment
|
||||
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
||||
static: False
|
||||
|
||||
- name: ensure osd daemons are started
|
||||
include: start_osds.yml
|
||||
when:
|
||||
|
|
|
@ -67,5 +67,3 @@
|
|||
- item.0.get("rc", 0) != 0
|
||||
- item.1.get("rc", 0) != 0
|
||||
- not containerized_deployment
|
||||
|
||||
- include: ../activate_osds.yml
|
||||
|
|
|
@ -85,5 +85,3 @@
|
|||
- item.0.get("rc", 0) != 0
|
||||
- osd_objectstore == 'bluestore'
|
||||
- not containerized_deployment
|
||||
|
||||
- include: ../activate_osds.yml
|
||||
|
|
Loading…
Reference in New Issue