4 - name: configure Postfix "mailname"
11 question=postfix/mailname
12 value="{{ postfix_mailname }}"
15 - name: configure Postfix "destinations"
22 question=postfix/destinations
23 value="{{ postfix_mailname }}, $myhostname, localhost.$mydomain, localhost"
26 - name: install "postfix" package
35 - name: setup "/etc/mailname"
48 - name: set Posfix "myorigin"
53 dest=/etc/postfix/main.cf
55 line="myorigin = /etc/mailname"
62 - name: set Posfix "myhostname"
67 dest=/etc/postfix/main.cf
69 line="myhostname = {{ inventory_hostname }}"
76 - name: ensure service "postfix" is enabled and running