Add dockerized ansible PoC
This commit is contained in:
parent
255562ba89
commit
f72f1f3efb
|
@ -85,7 +85,7 @@ function kenter(){
|
||||||
function git_updated() {
|
function git_updated() {
|
||||||
local ROOT=`pwd`
|
local ROOT=`pwd`
|
||||||
local gitstatus
|
local gitstatus
|
||||||
|
|
||||||
for dir in `ls --color=none | grep -v Archive`
|
for dir in `ls --color=none | grep -v Archive`
|
||||||
do
|
do
|
||||||
if [[ -d $dir ]]
|
if [[ -d $dir ]]
|
||||||
|
@ -273,3 +273,10 @@ function docker_clean(){
|
||||||
function warn_me (){
|
function warn_me (){
|
||||||
echo "notify-send --urgency=critical \"$1\"" | at $2
|
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 "$@"
|
||||||
|
# }
|
||||||
|
|
Loading…
Reference in New Issue