mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-23 19:06:33 +01:00
Update master-setup.yml
Add option for additional kubeadm init options
This commit is contained in:
parent
8fb27abcc8
commit
d20f197884
@ -6,6 +6,8 @@
|
|||||||
--apiserver-advertise-address={{ kubernetes_apiserver_advertise_address | default(ansible_default_ipv4.address) }}
|
--apiserver-advertise-address={{ kubernetes_apiserver_advertise_address | default(ansible_default_ipv4.address) }}
|
||||||
--kubernetes-version {{ kubernetes_version }}
|
--kubernetes-version {{ kubernetes_version }}
|
||||||
--ignore-preflight-errors={{ kubernetes_ignore_preflight_errors }}
|
--ignore-preflight-errors={{ kubernetes_ignore_preflight_errors }}
|
||||||
|
{{ kubeadm_init_opts }}
|
||||||
|
|
||||||
register: kubeadmin_init
|
register: kubeadmin_init
|
||||||
failed_when: False
|
failed_when: False
|
||||||
when: kubernetes_init_stat.stat.exists == False
|
when: kubernetes_init_stat.stat.exists == False
|
||||||
|
Loading…
Reference in New Issue
Block a user