Add Makefile, roles_path, and SSH tunnel variable
This commit is contained in:
parent
8fed63792b
commit
2e02efcbb7
10
Makefile
Normal file
10
Makefile
Normal file
@ -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
|
@ -1,6 +1,7 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
inventory = ./environments/development
|
inventory = ./environments/development
|
||||||
interpreter_python = /usr/bin/python3
|
interpreter_python = /usr/bin/python3
|
||||||
|
roles_path = ./roles
|
||||||
|
|
||||||
[connection]
|
[connection]
|
||||||
pipelining = true
|
pipelining = true
|
||||||
|
@ -17,7 +17,7 @@ unset PKILL_ANSWER
|
|||||||
|
|
||||||
# Function to create the SSH tunnel
|
# Function to create the SSH tunnel
|
||||||
function ssh_connect {
|
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
|
echo
|
||||||
case "$PSTART_ANSWER" in
|
case "$PSTART_ANSWER" in
|
||||||
[yY])
|
[yY])
|
||||||
|
Loading…
Reference in New Issue
Block a user