mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
tweaking
This commit is contained in:
@ -79,7 +79,7 @@ fi
|
||||
# Run Ansible Playbook
|
||||
echo "### Now running T-Pot Ansible Uninstallation Playbook ..."
|
||||
echo
|
||||
ANSIBLE_LOG_PATH=${PWD}/uninstall_tpot.log ansible-playbook ${myANSIBLE_TPOT_PLAYBOOK} -i 127.0.0.1, -c local --tags "${myANSIBLE_TAG}" ${myANSIBLE_BECOME_OPTION}
|
||||
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
|
||||
if [ ! $? -eq 0 ];
|
||||
@ -90,8 +90,8 @@ if [ ! $? -eq 0 ];
|
||||
exit 1
|
||||
else
|
||||
echo "### Playbook was successful."
|
||||
echo "### Now removing $HOME/tpotce."
|
||||
rm -rf $HOME/tpotce
|
||||
echo "### Now removing ${HOME}/tpotce."
|
||||
rm -rf ${HOME}/tpotce
|
||||
echo
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user