From f72f1f3efb8b2fd35ec0818dd7022aea2cbfb721 Mon Sep 17 00:00:00 2001 From: drymer Date: Sun, 24 Jun 2018 22:57:33 +0200 Subject: [PATCH] Add dockerized ansible PoC --- roles/shell-dotfiles/files/functions | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/roles/shell-dotfiles/files/functions b/roles/shell-dotfiles/files/functions index 4f4b1bd..60fcbe1 100644 --- a/roles/shell-dotfiles/files/functions +++ b/roles/shell-dotfiles/files/functions @@ -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 "$@" +# }