]> git.immae.eu Git - github/fretlink/docker-ansible.git/blame - mini-debian8/uninstall-ansible.sh
Add: `mini-debian8` tag.
[github/fretlink/docker-ansible.git] / mini-debian8 / uninstall-ansible.sh
CommitLineData
042ddec8
WY
1#!/bin/sh
2#
3# Simple wrapper for uninstall ansible and related stuff.
4#
5
6
7echo "===> Removing Ansible..."
8apt-get -f -y --auto-remove remove ansible
9
10echo "===> Removing APT packages..."
11cat ___APT_UNINSTALL_LIST | \
12 while read ITEM; do
13 apt-get -f -y --auto-remove remove $ITEM
14 done
15apt-get clean
16
17
18echo "===> Cleaning up package list..."
19rm -rf /etc/python /etc/python2.7
20rm -rf /etc/ansible /root/.ansible /root/.cache
21rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d /var/cache/* /var/log/*