From 08ea60402826ee725c9aa7d4c4ce7c0e1a8303d1 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 4 Feb 2024 21:17:57 +0100 Subject: [PATCH] feat: create home share ans delete home mont on cluster --- ansible/group_vars/NAS/nfs | 2 ++ ansible/group_vars/cluster/mount | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/ansible/group_vars/NAS/nfs b/ansible/group_vars/NAS/nfs index 91bc44c..126d378 100644 --- a/ansible/group_vars/NAS/nfs +++ b/ansible/group_vars/NAS/nfs @@ -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}}" diff --git a/ansible/group_vars/cluster/mount b/ansible/group_vars/cluster/mount index fd7853f..0d28085 100644 --- a/ansible/group_vars/cluster/mount +++ b/ansible/group_vars/cluster/mount @@ -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