mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-09 15:44:20 -07:00
Initial commit
This commit is contained in:
commit
aebc1b03fd
4861 changed files with 812621 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env bash
|
||||
# Mock Docker Machine wrapper for testing purposes
|
||||
|
||||
[ "$MOCK_ERROR_IN" == "$1" ] && echo >&2 "Mock Docker Machine error" && exit 1
|
||||
case $1 in
|
||||
env)
|
||||
cat <<'EOF'
|
||||
export DOCKER_TLS_VERIFY="1"
|
||||
export DOCKER_HOST="tcp://134.209.204.160:2376"
|
||||
export DOCKER_CERT_PATH="/root/.docker/machine/machines/routinator"
|
||||
export DOCKER_MACHINE_NAME="routinator"
|
||||
# Run this command to configure your shell:
|
||||
# eval $(docker-machine env --shell=bash routinator)
|
||||
EOF
|
||||
;;
|
||||
|
||||
*)
|
||||
/usr/bin/docker-machine $*
|
||||
;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue