From d20f19788471b7279b76ee03405821892da6f259 Mon Sep 17 00:00:00 2001 From: Priit Liivak Date: Thu, 20 Sep 2018 22:44:27 +0300 Subject: [PATCH] Update master-setup.yml Add option for additional kubeadm init options --- tasks/master-setup.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/master-setup.yml b/tasks/master-setup.yml index 416c6c2..5e4fd52 100644 --- a/tasks/master-setup.yml +++ b/tasks/master-setup.yml @@ -6,6 +6,8 @@ --apiserver-advertise-address={{ kubernetes_apiserver_advertise_address | default(ansible_default_ipv4.address) }} --kubernetes-version {{ kubernetes_version }} --ignore-preflight-errors={{ kubernetes_ignore_preflight_errors }} + {{ kubeadm_init_opts }} + register: kubeadmin_init failed_when: False when: kubernetes_init_stat.stat.exists == False