diff --git a/ansible/group_vars/VPS/mount b/ansible/group_vars/VPS/mount index 8af3114..c664e4a 100644 --- a/ansible/group_vars/VPS/mount +++ b/ansible/group_vars/VPS/mount @@ -1,6 +1,6 @@ systemd_mounts: diskstation_nomad: - share: diskstation.lan.ducamps.eu:/volume2/nomad + share: "{{ nas_ip }}:/volume2/nomad" mount: /mnt/diskstation/nomad type: nfs options: diff --git a/ansible/group_vars/all/all b/ansible/group_vars/all/all index e86e311..77c83f0 100644 --- a/ansible/group_vars/all/all +++ b/ansible/group_vars/all/all @@ -4,3 +4,4 @@ system_arch_local_mirror: "https://arch.{{domain.name}}/repo/archlinux_$arch" system_sudoers_group: "serverAdmin" system_ipV6_disable: True system_ip_unprivileged_port_start: 0 +nas_ip: "192.168.1.10" diff --git a/ansible/group_vars/homelab/mount b/ansible/group_vars/homelab/mount index 0c976f8..e20fd46 100644 --- a/ansible/group_vars/homelab/mount +++ b/ansible/group_vars/homelab/mount @@ -1,13 +1,13 @@ systemd_mounts: diskstation_git: - share: diskstation.lan.ducamps.eu:/volume2/git + share: "{{ nas_ip }}:/volume2/git" mount: /mnt/diskstation/git type: nfs options: - " " automount: true diskstation_CardDav: - share: diskstation.lan.ducamps.eu:/volume2/CardDav + share: "{{ nas_ip }}:/volume2/CardDav" mount: /mnt/diskstation/CardDav type: nfs options: @@ -21,49 +21,49 @@ systemd_mounts: - " " automount: true diskstation_home: - share: diskstation.lan.ducamps.eu:/volume2/homes/admin + share: "{{ nas_ip }}:/volume2/homes/admin" mount: /mnt/diskstation/home type: nfs options: - " " automount: true diskstation_photo: - share: diskstation.lan.ducamps.eu:/volume2/photo + share: "{{ nas_ip }}:/volume2/photo" mount: /mnt/diskstation/photo type: nfs options: - " " automount: true diskstation_music: - share: diskstation.lan.ducamps.eu:/volume2/music + share: "{{ nas_ip }}:/volume2/music" mount: /mnt/diskstation/music type: nfs options: - " " automount: true diskstation_media: - share: diskstation.lan.ducamps.eu:/volume1/media + share: "{{ nas_ip }}:/volume1/media" mount: /mnt/diskstation/media type: nfs options: - " " automount: true diskstation_ebook: - share: diskstation.lan.ducamps.eu:/volume2/ebook + share: "{{ nas_ip }}:/volume2/ebook" mount: /mnt/diskstation/ebook type: nfs options: - " " automount: true diskstation_archMirror: - share: diskstation.lan.ducamps.eu:/volume2/archMirror + share: "{{ nas_ip }}:/volume2/archMirror" mount: /mnt/diskstation/archMirror type: nfs options: - " " automount: true diskstation_nomad: - share: diskstation.lan.ducamps.eu:/volume2/nomad + share: "{{ nas_ip }}:/volume2/nomad" mount: /mnt/diskstation/nomad type: nfs options: