Get uninstall working
This commit is contained in:
parent
d53a034661
commit
14811ffd3e
1 changed files with 3 additions and 11 deletions
|
@ -22,7 +22,7 @@
|
|||
|
||||
- name: stop docker-compose
|
||||
docker_compose:
|
||||
project_src: '{{lemmy_base_dir}}'
|
||||
project_src: '{{lemmy_base_dir}}/{{domain}}'
|
||||
state: absent
|
||||
|
||||
- name: delete data
|
||||
|
@ -30,16 +30,8 @@
|
|||
path: '{{item.path}}'
|
||||
state: absent
|
||||
with_items:
|
||||
- path: '{{lemmy_base_dir}}'
|
||||
- path: '/etc/nginx/sites-enabled/lemmy.conf'
|
||||
|
||||
- name: Remove a volume
|
||||
docker_volume:
|
||||
name: '{{item.name}}'
|
||||
state: absent
|
||||
with_items:
|
||||
- name: 'lemmy_lemmy_db'
|
||||
- name: 'lemmy_lemmy_pictshare'
|
||||
- path: '{{lemmy_base_dir}}/{{domain}}'
|
||||
- path: '/etc/nginx/sites-enabled/{{domain}}.conf'
|
||||
|
||||
- name: delete entire ecloud folder
|
||||
file:
|
||||
|
|
Loading…
Reference in a new issue