Skip to content
Snippets Groups Projects
Commit 16462292 authored by Matthew Mosesohn's avatar Matthew Mosesohn Committed by GitHub
Browse files

Properly skip extra SANs when not specified for kubeadm (#1831)

parent 7ef1e1ef
No related branches found
No related tags found
No related merge requests found
......@@ -54,11 +54,11 @@
{%- if hostvars[host]['access_ip'] is defined %}{{ hostvars[host]['access_ip'] }}{% endif %}
{{ hostvars[host]['ip'] | default(hostvars[host]['ansible_default_ipv4']['address']) }}
{%- endfor %}
{% if supplementary_addresses_in_ssl_keys is defined %}
{% for addr in supplementary_addresses_in_ssl_keys %}
{%- if supplementary_addresses_in_ssl_keys is defined %}
{%- for addr in supplementary_addresses_in_ssl_keys %}
{{ addr }}
{% endfor %}
{% endif %}
{%- endfor %}
{%- endif %}
tags: facts
- name: kubeadm | Copy etcd cert dir under k8s cert dir
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment