ansible-edda/playbooks/tasks/services/b-user/service-user/01-zfs-datasets.d/lrproxy.yml

12 lines
402 B
YAML

- name: Create data dataset for user {{ service_user_name }}
zfs:
name: rpool/var/lib/{{ ansible_hostname }}/data/{{ service_user_name }}
state: present
extra_zfs_properties:
canmount: "off"
- name: Create etc-letsencrypt dataset for user {{ service_user_name }}
zfs:
name: rpool/var/lib/{{ ansible_hostname }}/data/{{ service_user_name }}/etc-letsencrypt
state: present