diff options
Diffstat (limited to 'group_vars/all.yml')
-rw-r--r-- | group_vars/all.yml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/group_vars/all.yml b/group_vars/all.yml index 2ae2bbc..35abefd 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -9,13 +9,11 @@ ansible_become_method: su wireguard_domain_controller: "{{ __global_domain_controller }}" relayd_domain_name: "{{ __domain_name }}" -acme_domain_name: "{{ __global_domain_name }}" nfsclient_server: stack0 httpd_use_nfs: true -relayd_rules: "[ - {% for rule in __services if - 'domain' in rule and 'port' in rule %} - {{ {'name': rule.name, 'domain': rule.domain, 'port': rule.port} }}, +acme_rules: "[ + {% for rule in __services if 'domain' in rule %} + {{ {'domain': rule.domain} }}, {% endfor %} ]" pf_rules: "[ @@ -24,7 +22,12 @@ pf_rules: "[ {{ {'name': rule.name, 'port': rule.port, 'protocol': rule.protocol} }}, {% endfor %} ]" -acme_rules: "{{ __services }}" +relayd_rules: "[ + {% for rule in __services if + 'domain' in rule and 'port' in rule %} + {{ {'name': rule.name, 'domain': rule.domain, 'port': rule.port} }}, + {% endfor %} + ]" # playbook specific |