There is no reasons why we can't use crush rules when deploying
containers. So moving the inlcude in the main.yml so it can be called.
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit
f0787e64da45fdbefb2ff1376a0705fadf6a502d)
Signed-off-by: Sébastien Han <seb@redhat.com>
- ceph_release_num.{{ ceph_release }} > ceph_release_num.jewel
with_items: "{{ groups.get(mgr_group_name, []) }}"
-- name: crush_rules.yml
- include: crush_rules.yml
- when:
- - crush_rule_config
-
- name: find ceph keys
shell: ls -1 /etc/ceph/*.keyring
changed_when: false
# 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: