Skip some uninstall tasks if not necessary to run

This commit is contained in:
Slavi Pantaleev
2019-03-13 07:40:51 +02:00
parent b066f8a0d8
commit 2d56ff0afa
6 changed files with 6 additions and 0 deletions

View File

@ -132,6 +132,7 @@
stat:
path: "/etc/systemd/system/matrix-nginx-proxy.service"
register: matrix_nginx_proxy_service_stat
when: "not matrix_nginx_proxy_enabled"
- name: Ensure matrix-nginx-proxy is stopped
service: