diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2022-10-11 13:24:54 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2022-10-11 13:57:22 +0200 |
commit | a69c2e1c3c771db93d98a253192e131af40c9830 (patch) | |
tree | 439c92876e3a74a760d6a9822d6d22154f7a8179 /group_vars/all.yml | |
parent | 5d1907daa5e38f5c287a17e082b50cc01a72f396 (diff) |
Prefix ‘ipaddr’ and ‘ipv4’ with ‘ansible.utils.’.
This silences the following deprecation warning:
Use 'ansible.utils.ipaddr' module instead. This feature will be removed from ansible.netcommon in a release after 2024-01-01.
Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
Diffstat (limited to 'group_vars/all.yml')
-rw-r--r-- | group_vars/all.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/group_vars/all.yml b/group_vars/all.yml index 6d711ec..760ea09 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -31,41 +31,41 @@ postfix_instance: # XXX it's unfortunate that we can only specify a single address, and # therefore have to limit the number of outgoing SMTP proxy and # IMAP server to one. Since hosts(5) files cannot map and IP # address to multiple hostnames, a workaround would be to use # round-robin DNS, but we can't rely on DNS as long as our zone is # unsigned. IMAP: { name: mda , addr: "{{ (groups.all | length > 1) | ternary( ipsec[ hostvars[groups.IMAP[0]].inventory_hostname_short ], '127.0.0.1') }}" , port: 2526 } MX: { name: mx, group: mta } out: { name: out, group: mta , addr: "{{ (groups.all | length > 1) | ternary( ipsec[ hostvars[groups.out[0]].inventory_hostname_short ], '127.0.0.1') }}" , port: 2525 } MSA: { name: msa , addr: "{{ (groups.all | length > 1) | ternary( ipsec[ hostvars[groups.MSA[0]].inventory_hostname_short ], '127.0.0.1') }}" , port: 2587 } lists: { name: lists , addr: "{{ (groups.all | length > 1) | ternary( ipsec[ hostvars[groups.lists[0]].inventory_hostname_short ], '127.0.0.1') }}" , port: 2527 } -imapsvr_addr: "{{ postfix_instance.IMAP.addr | ipaddr }}" +imapsvr_addr: "{{ postfix_instance.IMAP.addr | ansible.utils.ipaddr }}" dkim_keys: giraff: # match key "fripost.org": # domain of the entity signing the message (should be unique accross match keys) d: fripost.org # selector (randomly generated with `xxd -p -l16 </dev/urandom`) s: 8f00fb94ec6c37aacb48bd43e073f9b7 "lists.fripost.org": d: lists.fripost.org s: d3df4ddda85e3c927621b1b02a9cbb85 "guilhem@debian.org": d: debian.org s: 5d30c523ff3622ed454230a16a11ddf6.guilhem.user "guilhem.org": d: guilhem.org s: d32231afe345182ae1a9b376fa912dca "hemdal.se": d: hemdal.se |