--- - hosts: biff roles: - role: lxc_guest vm_name: mail - role: ssh_server connection: lxc_ssh ansible_docker_extra_args: mail - hosts: mail roles: - role: postfix ldap_server: "{{ hostvars['ldap'].ansible_host }}" fqdn_domain: "mail.lilik.it" lists_server: "{{ hostvars['lists'].ansible_host }}" - role: dovecot domain: "lilik.it" fqdn_domain: "mail.lilik.it" ldap_server: "{{ hostvars['ldap'].ansible_host }}"