.dockerfunc: remove ansible

This commit is contained in:
Frieder Schlesier 2023-01-09 19:46:05 +01:00
parent cf9dc39933
commit 19bd891d79
1 changed files with 13 additions and 13 deletions

View File

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