mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-27 10:41:08 +02:00
Activated domains creation for svc-db- due to that the domains are used for certificate creation and they need it to use secure communication
This commit is contained in:
parent
552bb1bbae
commit
3549f4de32
@ -18,7 +18,10 @@ class FilterModule(object):
|
|||||||
seen_domains = {}
|
seen_domains = {}
|
||||||
|
|
||||||
for app_id, cfg in apps.items():
|
for app_id, cfg in apps.items():
|
||||||
if app_id.startswith(("web-")):
|
if app_id.startswith((
|
||||||
|
"web-",
|
||||||
|
"svc-db-" # Database services can also be exposed to the internet. It is just listening to the port, but the domain is used for port mapping
|
||||||
|
)):
|
||||||
if not isinstance(cfg, dict):
|
if not isinstance(cfg, dict):
|
||||||
raise AnsibleFilterError(
|
raise AnsibleFilterError(
|
||||||
f"Invalid configuration for application '{app_id}': "
|
f"Invalid configuration for application '{app_id}': "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user