forked from data.coop/ansible
Shorten Jinja2 filter in postfix.yml
This commit is contained in:
parent
e983499f9b
commit
f3fd5c7c74
|
@ -16,5 +16,5 @@
|
|||
- name: postfix
|
||||
env:
|
||||
# Get all services which have allowed_sender_domain defined
|
||||
ALLOWED_SENDER_DOMAINS: "{{ services | dict2items | selectattr('value.allowed_sender_domain', 'defined') | map(attribute='value.domain') | list | join(' ') }}"
|
||||
ALLOWED_SENDER_DOMAINS: "{{ services | dict2items | selectattr('value.allowed_sender_domain', 'true') | map(attribute='value.domain') | join(' ') }}"
|
||||
HOSTNAME: "smtp.data.coop" # the name the smtp server will identify itself as
|
||||
|
|
Loading…
Reference in a new issue