30 lines
897 B
YAML
30 lines
897 B
YAML
- name: Mount /export/tv
|
|
ansible.posix.mount:
|
|
src: UUID=fcee0188-8ca1-4fda-81b7-f5920c79ab48
|
|
path: /export/tv
|
|
state: mounted
|
|
fstype: ext4
|
|
|
|
- name: Mount /export/film
|
|
ansible.posix.mount:
|
|
src: UUID=5d9dd538-79e4-4168-be91-e0b040155cb3
|
|
path: /export/film
|
|
state: mounted
|
|
fstype: ext4
|
|
|
|
- name: Mount /export/misc
|
|
ansible.posix.mount:
|
|
src: UUID=5a43b7dc-3e28-459e-824a-ad45b5475361
|
|
path: /export/misc
|
|
state: mounted
|
|
fstype: ext4
|
|
|
|
# - name: Set up NFS exports
|
|
# vars:
|
|
# nfs_exports: [
|
|
# "/export/film 10.0.1.0/24(rw,subtree_check,insecure,no_root_squash,anonuid=100,anongid=100)",
|
|
# "/export/tv 10.0.1.0/24(rw,subtree_check,insecure,no_root_squash,anonuid=100,anongid=100)",
|
|
# "/export/misc 10.0.1.0/24(rw,subtree_check,insecure,no_root_squash,anonuid=100,anongid=100)"
|
|
# ]
|
|
# include_role:
|
|
# name: ansible-role-nfs
|