.dockerfunc: remove ansible
This commit is contained in:
parent
cf9dc39933
commit
19bd891d79
26
.dockerfunc
26
.dockerfunc
|
@ -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=$@
|
||||||
|
|
Loading…
Reference in New Issue