Make canmount configurable for bhyve and jails.

This commit is contained in:
Tom Alexander
2022-11-12 17:04:25 -05:00
parent a2a7da0d9b
commit 0a49fc16b6
4 changed files with 31 additions and 27 deletions

View File

@@ -19,8 +19,8 @@
state: present
extra_zfs_properties:
mountpoint: "{{ bhyve_mountpoint }}"
canmount: "noauto"
"ta:bemount": "on"
canmount: "{{ bhyve_canmount|default('noauto') }}"
"ta:bemount": "{{ bhyve_bemount|default('on') }}"
- name: Enable bhyve
community.general.sysrc: