recover dynamic ip for nfs mount

This commit is contained in:
vincent 2023-12-23 20:53:38 +01:00
parent 5a8c4519a6
commit c4f1423501
2 changed files with 1 additions and 2 deletions

View File

@ -4,4 +4,4 @@ system_arch_local_mirror: "https://arch.{{domain.name}}/repo/archlinux_$arch"
system_sudoers_group: "serverAdmin" system_sudoers_group: "serverAdmin"
system_ipV6_disable: True system_ipV6_disable: True
system_ip_unprivileged_port_start: 0 system_ip_unprivileged_port_start: 0
nas_ip: "192.168.1.10" nas_ip: "{{ hostvars[groups['NAS'][0]]['ansible_facts']['default_ipv4']['address']|default('192.168.1.10')}}"

View File

@ -6,7 +6,6 @@ consul_bootstrap_expect: 2
consul_domain: "consul" consul_domain: "consul"
nomad_bootstrap_expect: 2 nomad_bootstrap_expect: 2
vault_unseal_keys_dir_output: "~/vaultUnseal/staging" vault_unseal_keys_dir_output: "~/vaultUnseal/staging"
nfs_domain_name: "{{ domain.name}}"
hosts_entries: hosts_entries:
- ip: "{{ hostvars['nas-dev']['ansible_default_ipv4']['address'] }}" - ip: "{{ hostvars['nas-dev']['ansible_default_ipv4']['address'] }}"
name: diskstation.ducamps.eu name: diskstation.ducamps.eu