osd: refact include of `activate_osds.yml`

remove duplicate code.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/1883/head
Guillaume Abrioux 2017-09-12 23:49:11 +02:00 committed by Sébastien Han
parent 383aa68be9
commit 49ad8528e5
3 changed files with 6 additions and 4 deletions

View File

@ -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:

View File

@ -67,5 +67,3 @@
- item.0.get("rc", 0) != 0
- item.1.get("rc", 0) != 0
- not containerized_deployment
- include: ../activate_osds.yml

View File

@ -85,5 +85,3 @@
- item.0.get("rc", 0) != 0
- osd_objectstore == 'bluestore'
- not containerized_deployment
- include: ../activate_osds.yml