-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathuninstall.sh
executable file
·43 lines (37 loc) · 972 Bytes
/
uninstall.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/sh
. ./versions.sh
docker-compose -f docker_compose_awx.yml down --remove-orphans &>/dev/null
docker-compose -f docker_compose_zabbix.yml down --remove-orphans &>/dev/null
docker-compose -f docker_compose_awx_from_atos_dockerhub.yml down --remove-orphans &>/dev/null
docker-compose -f docker_compose_zabbix_from_atos_dockerhub.yml down --remove-orphans &>/dev/null
. ./remove_awx_containers_and_images.sh
. ./remove_zabbix_containers_and_images.sh
docker container list
docker images
docker volume list
#echo "removing ansible..."
rm -rf ansible
#echo "removing zabbix..."
rm -rf zabbix
#echo "removing Dockerfiles..."
rm -rf Dockerfiles
#echo "removing packaging..."
rm -rf packaging
#echo "prerequisites"
rm -rf prerequisites
#echo "shells"
rm -f *.sh
#echo "yml files"
rm -f *.yml
#echo "md files"
rm -f *.md
#echo "tar files"
rm -f *.tar
#echo "gz files"
rm -f *.gz
#echo "py files"
rm -f *.py
#echo "css files"
rm -f *.css
#echo "storage"
rm -rf storage