Skip to content

Commit d0385d5

Browse files
Merge pull request #696 from mcornea/sno_ingress
Configure ingress secondary address on SNO cluster
2 parents 9715a29 + 62991c1 commit d0385d5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ansible/roles/create-ai-cluster/templates/rhlab_nmstate.yml.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ interfaces:
1010
address:
1111
- ip: {{ hostvars[item]['ip'] }}
1212
prefix-length: {{ hostvars[item]['network_prefix'] }}
13+
{% if cluster_type == "sno" and public_vlan and groups['sno'] | default([]) | length == 1 %}
14+
- ip: {{ controlplane_network_ingress }}
15+
prefix-length: {{ hostvars[item]['network_prefix'] }}
16+
{% endif %}
1317
auto-dns: false
1418
enabled: true
1519
{% if 'lab_mac' in hostvars[item] %}

0 commit comments

Comments
 (0)