Add dockerized ansible PoC

This commit is contained in:
drymer 2018-06-24 22:57:33 +02:00
parent 255562ba89
commit f72f1f3efb
1 changed files with 8 additions and 1 deletions

View File

@ -85,7 +85,7 @@ function kenter(){
function git_updated() {
local ROOT=`pwd`
local gitstatus
for dir in `ls --color=none | grep -v Archive`
do
if [[ -d $dir ]]
@ -273,3 +273,10 @@ function docker_clean(){
function warn_me (){
echo "notify-send --urgency=critical \"$1\"" | at $2
}
# TODO
# function ansible-playbook-2.5 (){
# docker run -ti -v `pwd`:/ansible \
# -v /var/run/docker.sock:/var/run/docker.sock \
# -v `pwd`/config:/home/docker/.ssh/config ansible:2.5 "$@"
# }