mirror of https://github.com/ceph/ceph-ansible.git
ceph-mds: remove unused block condition
Sincepull/5868/headaf9f6684
the cephfs pool(s) creation don't use the fs_pools_created variable anymore because the ceph_pool module is idempotent. Signed-off-by: Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit1db4dc807c
)
parent
9b0f45431d
commit
babc8a05fd
|
@ -1,10 +1,4 @@
|
|||
---
|
||||
- name: check and deploy filesystem pools
|
||||
delegate_to: "{{ groups[mon_group_name][0] }}"
|
||||
block:
|
||||
- name: deploy filesystem pools
|
||||
when: fs_pools_created is not defined
|
||||
block:
|
||||
- import_role:
|
||||
name: ceph-facts
|
||||
tasks_from: get_def_crush_rule_name.yml
|
||||
|
@ -23,6 +17,7 @@
|
|||
pg_autoscale_mode: "{{ item.pg_autoscale_mode | default(omit) }}"
|
||||
target_size_ratio: "{{ item.target_size_ratio | default(omit) }}"
|
||||
with_items: "{{ cephfs_pools }}"
|
||||
delegate_to: "{{ groups[mon_group_name][0] }}"
|
||||
environment:
|
||||
CEPH_CONTAINER_IMAGE: "{{ ceph_docker_registry + '/' + ceph_docker_image + ':' + ceph_docker_image_tag if containerized_deployment else None }}"
|
||||
CEPH_CONTAINER_BINARY: "{{ container_binary }}"
|
||||
|
|
Loading…
Reference in New Issue