diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2023-01-14 15:56:48 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2023-04-02 11:45:09 +0200 |
commit | 5582074f59640eaad0b879c7c3b45bc3b0beefc8 (patch) | |
tree | 8100f01f64a4e762d96db2ff7b68c6585a6dbec8 /group_vars/all.yml | |
parent | 28332d389dd3644aeb3973d4ca472820f6b45b07 (diff) | |
download | rules-5582074f59640eaad0b879c7c3b45bc3b0beefc8.tar.gz |
feat(roles/acme): add argument specs
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 |