diff options
author | Dan Fedele <dan.fedele@gmail.com> | 2023-06-12 16:48:51 -0400 |
---|---|---|
committer | Dan Fedele <dan.fedele@gmail.com> | 2023-06-12 16:48:51 -0400 |
commit | c012b2026d4908e8533e6d3c3d8b89d36b11f168 (patch) | |
tree | ed7472598234db7fd30ab022a611f450e60c4599 /setup.sh | |
parent | e8ca7beece3fd8b80d76857d7c6f687d83209918 (diff) |
Now using ansible roles. also removed linpeass
Diffstat (limited to 'setup.sh')
-rw-r--r-- | setup.sh | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -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! *" |