mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-14 12:57:45 -02:30
baremetal tweaks
* allow installs to not have hostname overriden with fqdn from inventory * calico-config no longer requires local as and will default to global * when cloudprovider is not defined, use the inventory_hostname for cni-calico * allow reset to not restart network (buggy nodes die with this cmd) * default kube_override_hostname to inventory_hostname instead of ansible_hostname
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
---
|
||||
flush_iptables: true
|
||||
reset_restart_network: true
|
||||
|
||||
@@ -195,7 +195,7 @@
|
||||
networking
|
||||
{%- endif %}
|
||||
state: restarted
|
||||
when: ansible_os_family not in ["CoreOS", "Container Linux by CoreOS"]
|
||||
when: ansible_os_family not in ["CoreOS", "Container Linux by CoreOS"] and reset_restart_network
|
||||
tags:
|
||||
- services
|
||||
- network
|
||||
|
||||
Reference in New Issue
Block a user