Update main.yml

This commit is contained in:
qiaofeng1227 2022-12-07 08:45:39 +08:00 committed by GitHub
parent 2eadfd37cb
commit cb2459ddf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"