Skip to content

Commit

Permalink
tweaking
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chn0m4g3 committed Mar 24, 2024
1 parent 3e9c94c commit ebffec9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ fi
# Run Ansible Playbook
echo "### Now running T-Pot Ansible Installation Playbook ..."
echo
rm ${HOME}/install_tpot.log
ANSIBLE_LOG_PATH=${HOME}/install_tpot.log ansible-playbook ${myANSIBLE_TPOT_PLAYBOOK} -i 127.0.0.1, -c local --tags "${myANSIBLE_TAG}" ${myANSIBLE_BECOME_OPTION}

# Something went wrong
Expand Down
3 changes: 2 additions & 1 deletion uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ fi
# Run Ansible Playbook
echo "### Now running T-Pot Ansible Uninstallation Playbook ..."
echo
rm ${HOME}/uninstall_tpot.log
ANSIBLE_LOG_PATH=${HOME}/uninstall_tpot.log ansible-playbook ${myANSIBLE_TPOT_PLAYBOOK} -i 127.0.0.1, -c local --tags "${myANSIBLE_TAG}" ${myANSIBLE_BECOME_OPTION}

# Something went wrong
Expand All @@ -91,7 +92,7 @@ if [ ! $? -eq 0 ];
else
echo "### Playbook was successful."
echo "### Now removing ${HOME}/tpotce."
rm -rf ${HOME}/tpotce
sudo rm -rf ${HOME}/tpotce
rm -rf ${HOME}/tpot.yml
echo
fi
Expand Down

0 comments on commit ebffec9

Please sign in to comment.