File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
containers/kubespray/rootfs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ sleep 1
1515
1616/root/kubespray/contrib/inventory_builder/inventory.py ${IPS[@]}
1717
18- ansible-playbook $@ --extra-vars @/etc/ansible/vars.yml --become /root/.ansible/playbooks/kubespray-prep.yml || exit 1
19- ansible-playbook $@ --extra-vars @/etc/ansible/vars.yml --become ./cluster.yml || ansible-playbook $@ --extra-vars @/etc/ansible/vars.yml --become ./cluster.yml
18+ ansible-playbook --extra-vars @/etc/ansible/vars.yml --become $@ /root/.ansible/playbooks/kubespray-prep.yml || exit 1
19+ ansible-playbook --extra-vars @/etc/ansible/vars.yml --become $@ ./cluster.yml || ansible-playbook $@ --extra-vars @/etc/ansible/vars.yml --become ./cluster.yml
2020
2121cat /etc/ansible/artifacts/admin.conf > /root/.kube/config
2222kubectl scale deployment --replicas=0 dns-autoscaler --namespace=kube-system
@@ -26,4 +26,4 @@ kubectl apply -f /root/patch/multus-daemonset.yml
2626sleep 7
2727kubectl apply -f /root/patch/multus-daemonset.yml || kubectl apply -f /root/patch/multus-daemonset.yml
2828cat /etc/ansible/artifacts/admin.conf > /config
29- kubectl get po -A
29+ kubectl get po -A
You can’t perform that action at this time.
0 commit comments