2023-12-23 19:51:28 +00:00
nfs_cluster_list: "{% for server in groups['all']%}{{ hostvars[server]['ansible_default_ipv4']['address'] }}(rw,no_root_squash,async,insecure_locks,sec=sys) {%endfor%}"
2024-01-13 17:32:02 +00:00
nfs_consul_service: true
nfs_bind_target: "/exports"
nfs_bind_source:
- /var/local/volume1/nomad
- /var/local/volume1/music
- /var/local/volume1/media
- /var/local/volume1/photo
2024-02-04 20:17:57 +00:00
- /var/local/volume1/homes
2024-01-13 17:32:02 +00:00
- /var/local/volume1/ebook
2022-12-10 10:07:18 +00:00
nfs_exports:
2024-01-13 17:32:02 +00:00
- "{{nfs_bind_target }} *(fsid=0,insecure,no_subtree_check)"
- "{{ nfs_bind_target }}/nomad {{nfs_cluster_list}}"
- "{{ nfs_bind_target }}/music {{nfs_cluster_list}}"
- "{{ nfs_bind_target }}/media {{nfs_cluster_list}}"
- "{{ nfs_bind_target }}/photo {{nfs_cluster_list}}"
2024-02-04 20:17:57 +00:00
- "{{ nfs_bind_target }}/homes {{nfs_cluster_list}}"
2024-01-13 17:32:02 +00:00
- "{{ nfs_bind_target }}/ebook {{nfs_cluster_list}}"
2023-04-16 15:59:43 +00:00