mirror of https://github.com/ceph/ceph-ansible.git
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
parent
3b2f6c34e4
commit
a6d1922a2e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue