diff --git a/.dockerfunc b/.dockerfunc index 8d30792..ec369d2 100755 --- a/.dockerfunc +++ b/.dockerfunc @@ -71,20 +71,20 @@ android-studio() { #exit 0; } -ansible() { - local args=$@ - local cur_dir=$(pwd) - local targetmount=$(basename $cur_dir) +# ansible() { +# local args=$@ +# local cur_dir=$(pwd) +# local targetmount=$(basename $cur_dir) - docker run -it \ - --name ansible_$targetmount \ - -v ${cur_dir}:/src/$targetmount \ - -w /src/$targetmount \ - -v $HOME/.ssh/:/tmp/.ssh:ro \ - -v /etc/hosts:/etc/hosts:ro \ - ${DOCKER_REPO_PREFIX}/ansible:alpine \ - bash -c "$args" -} +# docker run -it \ +# --name ansible_$targetmount \ +# -v ${cur_dir}:/src/$targetmount \ +# -w /src/$targetmount \ +# -v $HOME/.ssh/:/tmp/.ssh:ro \ +# -v /etc/hosts:/etc/hosts:ro \ +# ${DOCKER_REPO_PREFIX}/ansible:alpine \ +# bash -c "$args" +# } ant() { local args=$@