container: run proxy tasks only when proxy will be installed, proxy cleanup

This commit is contained in:
uumas
2023-02-03 05:06:58 +02:00
parent 5a9c982f69
commit 3c670d5832
2 changed files with 7 additions and 4 deletions

View File

@@ -15,7 +15,8 @@
when: docker_network_mode is not defined or docker_network_mode != 'host'
- name: Reverse proxy for container
import_tasks: proxy.yml
include_tasks: proxy.yml
when: reverse_proxy_type != 'none'
- name: Database container
include_tasks: database.yml