From afd5d6b146bf51a572a0f133b3706b081885ed4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=8C=AF=E5=AE=87?= <> Date: Sun, 12 Jan 2025 02:14:17 +0800 Subject: [PATCH] feat(deploy): add become flag to ansible-playbook execution in deploy script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 孙振宇 <> --- cluster/ansible/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/ansible/deploy.sh b/cluster/ansible/deploy.sh index ef75eb19..716a1d37 100755 --- a/cluster/ansible/deploy.sh +++ b/cluster/ansible/deploy.sh @@ -20,4 +20,4 @@ if [ ! -f ../../cluster/ansible/manifests/inventory.ini ]; then exit 1 fi -cd ../../3rd/kubespray && ansible-playbook -i ../../cluster/ansible/manifests/inventory.ini ./cluster.yml -kK \ No newline at end of file +cd ../../3rd/kubespray && ansible-playbook -i ../../cluster/ansible/manifests/inventory.ini ./cluster.yml -kK -b \ No newline at end of file