feat(deploy): add become flag to ansible-playbook execution in deploy script
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
65da501ba9
commit
afd5d6b146
@ -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
|
||||
cd ../../3rd/kubespray && ansible-playbook -i ../../cluster/ansible/manifests/inventory.ini ./cluster.yml -kK -b
|
||||
Loading…
Reference in New Issue
Block a user