feat: create home share ans delete home mont on cluster

This commit is contained in:
vincent 2024-02-04 21:17:57 +01:00
parent 29ab70a1d5
commit 08ea604028
2 changed files with 2 additions and 8 deletions

View File

@ -6,6 +6,7 @@ nfs_bind_source:
- /var/local/volume1/music
- /var/local/volume1/media
- /var/local/volume1/photo
- /var/local/volume1/homes
- /var/local/volume1/ebook
@ -15,6 +16,7 @@ nfs_exports:
- "{{ nfs_bind_target }}/music {{nfs_cluster_list}}"
- "{{ nfs_bind_target }}/media {{nfs_cluster_list}}"
- "{{ nfs_bind_target }}/photo {{nfs_cluster_list}}"
- "{{ nfs_bind_target }}/homes {{nfs_cluster_list}}"
- "{{ nfs_bind_target }}/ebook {{nfs_cluster_list}}"

View File

@ -7,14 +7,6 @@ systemd_mounts:
- " "
automount: "{{ env_automount }}"
enabled: "{%if inventory_hostname in groups['staging'] %} false {% else %} true {% endif %}"
diskstation_home:
share: "{{ nas_ip }}:{{ env_default_nfs_path }}/homes/admin"
mount: /mnt/diskstation/home
type: nfs
options:
- " "
automount: "{{ env_automount }}"
enabled: true
diskstation_photo:
share: "{{ nas_ip }}:{{ env_default_nfs_path }}/photo"
mount: /mnt/diskstation/photo