From 14052386df4d63a0f48bbfe4593b1ad98fb5e11e Mon Sep 17 00:00:00 2001 From: gjmzj Date: Wed, 23 May 2018 09:45:06 +0800 Subject: [PATCH] minor fix --- 90.setup.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/90.setup.yml b/90.setup.yml index d0f172e..00c5d9b 100644 --- a/90.setup.yml +++ b/90.setup.yml @@ -47,6 +47,10 @@ when: DEPLOY_MODE != "allinone" ignore_errors: true + - name: 设置master节点role + shell: "{{ bin_dir }}/kubectl label node {{ NODE_IP }} kubernetes.io/role=master --overwrite" + ignore_errors: true + # node 节点部署 - hosts: kube-node roles: