You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
259 B

  1. {% for host in groups['kube-node'] %}
  2. {% if hostvars[host]['access_ip'] is defined %}
  3. {% if hostvars[host]['node_pod_cidr'] != node_pod_cidr %}
  4. {{ hostvars[host]['node_pod_cidr'] }} via {{ hostvars[host]['access_ip'] }}
  5. {% endif %}
  6. {% endif %}
  7. {% endfor %}