diff --git a/ansible/roles/hv-vm-manifests-compact/templates/manifest.yml.j2 b/ansible/roles/hv-vm-manifests-compact/templates/manifest.yml.j2 index e5324982..d38ffb8a 100644 --- a/ansible/roles/hv-vm-manifests-compact/templates/manifest.yml.j2 +++ b/ansible/roles/hv-vm-manifests-compact/templates/manifest.yml.j2 @@ -233,6 +233,8 @@ spec: state: up {{ "ipv6" if hostvars[groups['hv_vm'][vm]]['ip'] | ansible.utils.ipv6 else "ipv4" }}: enabled: true + autoconf: false + dhcp: false address: - ip: {{ hostvars[groups['hv_vm'][vm]]['ip'] }} prefix-length: {{ hostvars[groups['hv_vm'][vm]]['network_prefix'] }} diff --git a/ansible/roles/hv-vm-manifests-compact/templates/siteconfig.yml.j2 b/ansible/roles/hv-vm-manifests-compact/templates/siteconfig.yml.j2 index 5b7e3322..c4c7e362 100644 --- a/ansible/roles/hv-vm-manifests-compact/templates/siteconfig.yml.j2 +++ b/ansible/roles/hv-vm-manifests-compact/templates/siteconfig.yml.j2 @@ -109,6 +109,8 @@ spec: {% if hostvars[groups['hv_vm'][vm]]['hv_ip'] | ansible.utils.ipv4 %} ipv4: enabled: true + autoconf: false + dhcp: false address: - ip: "{{ hostvars[groups['hv_vm'][vm]]['ip'] }}" prefix-length: {{ hostvars[groups['hv_vm'][vm]]['network_prefix'] }} @@ -119,6 +121,8 @@ spec: enabled: false ipv6: enabled: true + autoconf: false + dhcp: false address: - ip: "{{ hostvars[groups['hv_vm'][vm]]['ip'] }}" prefix-length: {{ hostvars[groups['hv_vm'][vm]]['network_prefix'] }} diff --git a/ansible/roles/hv-vm-manifests-sno/templates/ai-manifest.yml.j2 b/ansible/roles/hv-vm-manifests-sno/templates/ai-manifest.yml.j2 index 056c9c2f..1ef38e37 100644 --- a/ansible/roles/hv-vm-manifests-sno/templates/ai-manifest.yml.j2 +++ b/ansible/roles/hv-vm-manifests-sno/templates/ai-manifest.yml.j2 @@ -31,6 +31,8 @@ spec: state: up {{ "ipv6" if hostvars[inventory_hostname]['ip'] | ansible.utils.ipv6 else "ipv4" }}: enabled: true + autoconf: false + dhcp: false address: - ip: {{ hostvars[inventory_hostname]['ip'] }} prefix-length: {{ hostvars[inventory_hostname]['network_prefix'] }} diff --git a/ansible/roles/hv-vm-manifests-sno/templates/ai-siteconfig.yml.j2 b/ansible/roles/hv-vm-manifests-sno/templates/ai-siteconfig.yml.j2 index b3ce1ba2..8e6374f2 100644 --- a/ansible/roles/hv-vm-manifests-sno/templates/ai-siteconfig.yml.j2 +++ b/ansible/roles/hv-vm-manifests-sno/templates/ai-siteconfig.yml.j2 @@ -144,6 +144,8 @@ spec: {% if hostvars[inventory_hostname]['ip'] | ansible.utils.ipv4 %} ipv4: enabled: true + autoconf: false + dhcp: false address: - ip: "{{ hostvars[inventory_hostname]['ip'] }}" prefix-length: {{ hostvars[inventory_hostname]['network_prefix'] }} @@ -154,6 +156,8 @@ spec: enabled: false ipv6: enabled: true + autoconf: false + dhcp: false address: - ip: "{{ hostvars[inventory_hostname]['ip'] }}" prefix-length: {{ hostvars[inventory_hostname]['network_prefix'] }} diff --git a/ansible/roles/hv-vm-manifests-standard/templates/manifest.yml.j2 b/ansible/roles/hv-vm-manifests-standard/templates/manifest.yml.j2 index 21324281..38454162 100644 --- a/ansible/roles/hv-vm-manifests-standard/templates/manifest.yml.j2 +++ b/ansible/roles/hv-vm-manifests-standard/templates/manifest.yml.j2 @@ -209,6 +209,8 @@ spec: # state: up # {{ "ipv6" if hostvars[groups['hv_vm'][vm]]['ip'] | ansible.utils.ipv6 else "ipv4" }}: # enabled: true +# autoconf: false +# dhcp: false # address: # - ip: {{ hostvars[groups['hv_vm'][vm]]['ip'] }} # prefix-length: {{ hostvars[groups['hv_vm'][vm]]['network_prefix'] }} @@ -244,6 +246,8 @@ spec: state: up {{ "ipv6" if hostvars[groups['hv_vm'][vm]]['ip'] | ansible.utils.ipv6 else "ipv4" }}: enabled: true + autoconf: false + dhcp: false address: - ip: {{ hostvars[groups['hv_vm'][vm]]['ip'] }} prefix-length: {{ hostvars[groups['hv_vm'][vm]]['network_prefix'] }} diff --git a/ansible/roles/hv-vm-manifests-standard/templates/siteconfig.yml.j2 b/ansible/roles/hv-vm-manifests-standard/templates/siteconfig.yml.j2 index 57f98693..5a15a03f 100644 --- a/ansible/roles/hv-vm-manifests-standard/templates/siteconfig.yml.j2 +++ b/ansible/roles/hv-vm-manifests-standard/templates/siteconfig.yml.j2 @@ -114,6 +114,8 @@ spec: {% if hostvars[groups['hv_vm'][vm]]['hv_ip'] | ansible.utils.ipv4 %} ipv4: enabled: true + autoconf: false + dhcp: false address: - ip: "{{ hostvars[groups['hv_vm'][vm]]['ip'] }}" prefix-length: {{ hostvars[groups['hv_vm'][vm]]['network_prefix'] }} @@ -124,6 +126,8 @@ spec: enabled: false ipv6: enabled: true + autoconf: false + dhcp: false address: - ip: "{{ hostvars[groups['hv_vm'][vm]]['ip'] }}" prefix-length: {{ hostvars[groups['hv_vm'][vm]]['network_prefix'] }}