ansible-role-postfix_mta/molecule/default/converge.yml

22 lines
477 B
YAML

---
- name: Converge
hosts: all
roles:
- ansible-role-postfix_mta
vars:
postfix_config:
inet_protocols: ipv4
transport_maps: hash:/etc/postfix/transport
aliases_maps: hash:/etc/postfix/aliases
postfix_transports:
google.com: smtp:127.0.0.1
postfix_aliases:
root:
- admin
- abuse
admin: admin@localhost.loc
pre_tasks:
- name: update apt cache
ansible.builtin.apt:
update_cache: true