mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-12-04 05:20:35 +00:00
Update main.yml
This commit is contained in:
parent
2eadfd37cb
commit
cb2459ddf0
1 changed files with 17 additions and 2 deletions
|
@ -16,8 +16,23 @@
|
|||
mv wp-cli.phar wp
|
||||
|
||||
- block:
|
||||
- name: Delete minio all config
|
||||
- name: Delete all config
|
||||
shell: |
|
||||
cd /data/apps/minio && docker compose down -v
|
||||
cd /data/apps/matomo && docker compose down -v
|
||||
rm -rf /data/apps/minio /data/apps/matomo
|
||||
when: wordpress_solution == ""
|
||||
|
||||
- block:
|
||||
- name: Delete minio config
|
||||
shell: |
|
||||
cd /data/apps/minio && docker compose down -v
|
||||
rm -rf /data/apps/minio
|
||||
when: wordpress_solution == ""
|
||||
when: wordpress_solution == "matomo"
|
||||
|
||||
- block:
|
||||
- name: Delete minio config
|
||||
shell: |
|
||||
cd /data/apps/matomo && docker compose down -v
|
||||
rm -rf /data/apps/matomo
|
||||
when: wordpress_solution == "minio"
|
||||
|
|
Loading…
Reference in a new issue