From c012b2026d4908e8533e6d3c3d8b89d36b11f168 Mon Sep 17 00:00:00 2001 From: Dan Fedele Date: Mon, 12 Jun 2023 16:48:51 -0400 Subject: Now using ansible roles. also removed linpeass --- setup.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'setup.sh') diff --git a/setup.sh b/setup.sh index 2148bd8..10957ea 100644 --- a/setup.sh +++ b/setup.sh @@ -17,13 +17,6 @@ if [[ $EUID -ne 0 ]]; then fi PATH_TO_SCRIPT=$(dirname $(readlink -f $0)) -ZSH_FUNC_FILE="zsh_functions.zsh" -TMUX_FILE="tmux_conf" - -if [[ ! -e ${PATH_TO_SCRIPT}/${ZSH_FUNC_FILE} ]] && [[ ! -e ${PATH_TO_SCRIPT}/${TMUX_FILE} ]]; then - echo "Cannot find supporting files! Please clone repository and try again!" - exit 3 -fi echo "***********************************" echo "* Installing pip *" @@ -44,7 +37,7 @@ echo "***********************************" echo "* Running Kali playbook *" echo "***********************************" -ansible-playbook ${PATH_TO_SCRIPT}/kali.yml --extra-vars "tmux=${PATH_TO_SCRIPT}/${TMUX_FILE} zsh_func=${PATH_TO_SCRIPT}/${ZSH_FUNC_FILE}" +ansible-playbook ${PATH_TO_SCRIPT}/main.yml echo "***********************************" echo "* Done! *" -- cgit v1.2.3