diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..997e45e --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +.PHONY: clean install + +all: install + +install: + vagrant up --no-destroy-on-error + sudo ./forward-ssh.sh + +clean: + vagrant destroy -f && rm -rf .vagrant diff --git a/ansible.cfg b/ansible.cfg index e0ac21f..a63fe34 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,6 +1,7 @@ [defaults] inventory = ./environments/development interpreter_python = /usr/bin/python3 +roles_path = ./roles [connection] pipelining = true diff --git a/forward-ssh.sh b/forward-ssh.sh index ae65bbf..d98c2f0 100755 --- a/forward-ssh.sh +++ b/forward-ssh.sh @@ -17,7 +17,7 @@ unset PKILL_ANSWER # Function to create the SSH tunnel function ssh_connect { - read -rp "Start a new vagrant SSH tunnel? [y/N]" + read -rp "Start a new vagrant SSH tunnel? [y/N] " PSTART_ANSWER echo case "$PSTART_ANSWER" in [yY])