mon: Fixed crush_rule_config for containerised deployment.

Was called too early, container was not yet started so the commands failed.
Moved the section after include docker/main.yml

Signed-off-by: Greg Charot <gcharot@redhat.com>
pull/2378/head
Greg Charot 2018-02-02 15:12:18 +01:00 committed by Guillaume Abrioux
parent 3b2f6c34e4
commit a6d1922a2e
1 changed files with 6 additions and 5 deletions

View File

@ -22,11 +22,6 @@
# this avoids the bug mentioned here: https://github.com/ansible/ansible/issues/18206
static: no
- name: crush_rules.yml
include: crush_rules.yml
when:
- crush_rule_config
- name: include secure_cluster.yml
include: secure_cluster.yml
when:
@ -37,6 +32,12 @@
include: docker/main.yml
when: containerized_deployment
- name: crush_rules.yml
include: crush_rules.yml
when:
- crush_rule_config
- inventory_hostname == groups.get(mon_group_name) | last
- name: include set_osd_pool_default_pg_num.yml
include: set_osd_pool_default_pg_num.yml