Skip to content

Commit

Permalink
Ensure to run cephfs task for nfs ganesha
Browse files Browse the repository at this point in the history
This patch updates when condition for cephfs task in ceph
playbook so that nfs ganesha deployment is never skipped if
ceph_nfs_enabled is true.
  • Loading branch information
katarimanojk committed May 16, 2024
1 parent 12dc3b3 commit 8793208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playbooks/ceph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@
cifmw_cephadm_dashboard_key: "{{ cifmw_cephadm_key }}"

- name: Create cephfs volume
when: cifmw_ceph_daemons_layout.cephfs_enabled | default(true) | bool
when: (cifmw_ceph_daemons_layout.cephfs_enabled | default(true) | bool) or (cifmw_ceph_daemons_layout.ceph_nfs_enabled | default(true) | bool)
ansible.builtin.import_role:
name: cifmw_cephadm
tasks_from: cephfs
Expand Down

0 comments on commit 8793208

Please sign in to comment.