You've already forked kubespray-dualstack
chore: some changes
This commit is contained in:
+3
-5
@@ -6,21 +6,19 @@ echo "Pulled"
|
||||
|
||||
CONTAINER_ID=`docker run --rm --mount type=bind,source="$(pwd)"/kubespray,dst=/inventory \
|
||||
--mount type=bind,source="$(pwd)"/.ssh/id_rsa,dst=/root/.ssh/id_rsa \
|
||||
--mount type=bind,source=/etc/hosts,dst=/etc/hosts \
|
||||
--network host \
|
||||
--detach \
|
||||
quay.io/kubespray/kubespray:v2.27.1 \
|
||||
sleep infinity`
|
||||
|
||||
docker exec -i $CONTAINER_ID \
|
||||
sed -i '/no_log: "{{ not (unsafe_show_logs | bool) }}"/s@^@#@' \
|
||||
roles/download/tasks/download_file.yml
|
||||
|
||||
docker exec -i $CONTAINER_ID \
|
||||
ls -l
|
||||
|
||||
docker exec -i $CONTAINER_ID \
|
||||
bash -c " \
|
||||
ANSIBLE_LOAD_CALLBACK_PLUGINS=False \
|
||||
ANSIBLE_STDOUT_CALLBACK=default \
|
||||
ANSIBLE_CALLBACK_WHITELIST= \
|
||||
ansible-playbook -i /inventory/inventory.ini --private-key /root/.ssh/id_rsa cluster.yml -u ubuntu -b -v"
|
||||
|
||||
docker rm --force $CONTAINER_ID
|
||||
|
||||
Reference in New Issue
Block a user