Browse Source

[sympa] get 'mail' ip from hostname

python3
Edoardo Putti 7 years ago
parent
commit
55e758fd0c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      roles/sympa/meta/main.yaml

+ 1
- 1
roles/sympa/meta/main.yaml View File

@ -5,5 +5,5 @@ dependencies:
server_fqdn: "lists.lilik.it"
parent_role_path: "sympa"
- role: exim4
stmp_relay: "{{ hostvars['mail'].ansible_host }}"
stmp_relay: "{{ hostvars | ip_from_inventory('mail') }}"
sympa_transport: true

Loading…
Cancel
Save