From 775b5f122e9e6012e1510766fe59a3669d4a1d4b Mon Sep 17 00:00:00 2001 From: Timtor Chen Date: Mon, 9 May 2022 16:24:33 +0800 Subject: [PATCH] Add fs mount option --- tasks/ceph.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/ceph.yml b/tasks/ceph.yml index 264e1cdb..42507fe0 100644 --- a/tasks/ceph.yml +++ b/tasks/ceph.yml @@ -241,7 +241,7 @@ {{ loop.last | ternary("", ",") -}} {% endfor %}:/ fstype: 'ceph' - opts: 'name={{ item.name }},secretfile=/etc/ceph/{{ item.name }}.secret,_netdev' + opts: 'name={{ item.name }},secretfile=/etc/ceph/{{ item.name }}.secret,_netdev,fs={{ item.name }}' state: 'mounted' when: "item.mountpoint is defined" loop: '{{ pve_ceph_fs }}'