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

23 lines
477 B
YAML
Raw Normal View History

2021-08-20 16:44:19 +00:00
---
- 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