# pg_num: "{{ osd_pool_default_pg_num }}"
# pgp_num: "{{ osd_pool_default_pg_num }}"
# rule_name: "replicated_rule"
+# application: "rbd"
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
# pg_num: "{{ osd_pool_default_pg_num }}"
# pgp_num: "{{ osd_pool_default_pg_num }}"
# rule_name: "replicated_rule"
+# application: "rbd"
# type: 1
# erasure_profile: ""
# expected_num_objects: ""
pg_num: "{{ osd_pool_default_pg_num }}"
pgp_num: "{{ osd_pool_default_pg_num }}"
rule_name: "replicated_rule"
+ application: "rbd"
type: 1
erasure_profile: ""
expected_num_objects: ""
pg_num: "{{ osd_pool_default_pg_num }}"
pgp_num: "{{ osd_pool_default_pg_num }}"
rule_name: "replicated_rule"
+ application: "rbd"
type: 1
erasure_profile: ""
expected_num_objects: ""
- pools | length > 0
- item.size | default(osd_pool_default_size) != ceph_osd_pool_default_size
+ - name: assign application to pool(s)
+ command: "{{ docker_exec_cmd | default('') }} ceph --cluster {{ cluster }} osd pool application enable {{ item.name }} {{ item.application }}"
+ with_items: "{{ pools | unique }}"
+ changed_when: false
+ delegate_to: "{{ delegated_node }}"
+ when:
+ - item.application is defined
+
+
- name: get client cephx keys
copy:
dest: "{{ item.source }}"