set nodeName to "{{ inventory_hostname }}" in kubeadm-config

This commit is contained in:
Dann Bohn 2018-02-16 16:20:08 -05:00
parent 5c0a41a6e0
commit 95e2bde15b

View file

@ -83,3 +83,5 @@ apiServerCertSANs:
{% endfor %}
certificatesDir: {{ kube_config_dir }}/ssl
unifiedControlPlaneImage: "{{ hyperkube_image_repo }}:{{ hyperkube_image_tag }}"
nodeName: {{ inventory_hostname }}