ansible-edda/playbooks/roles/music/datasets/collection/tasks/main.yml

25 lines
658 B
YAML

---
- name: "create data dataset"
community.general.zfs:
name: "{{ music_user_data_dataset }}"
state: "present"
extra_zfs_properties:
canmount: "off"
- name: "create music collection dataset"
community.general.zfs:
name: "{{ music_user_data_collection_dataset }}"
state: "present"
- name: "create music archive dataset"
community.general.zfs:
name: "{{ music_user_data_archive_dataset }}"
state: "present"
- name: "create backup data dataset"
community.general.zfs:
name: "{{ system_backups_snapshots_data_dataset }}/{{ music_user_name }}"
state: "present"
extra_zfs_properties:
canmount: "off"