diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-02-23 11:46:23 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-02-23 11:46:23 +0200 |
commit | 3b9b5309104d45fd7c75f37130a63f3f0c760dfc (patch) | |
tree | 8afa2c5747ee453fabe9ee6e36621a74d441c18d /ansible/roles/mail-client | |
parent | fb7ce66512e496cedc1cc8604ed8ae38c5a90fe0 (diff) | |
download | ansibleness-3b9b5309104d45fd7c75f37130a63f3f0c760dfc.tar.gz |
Add: mail-client role to exolobe1
Also, drop MTA configuration from mail-client, there's another role
for that already.
Diffstat (limited to 'ansible/roles/mail-client')
-rw-r--r-- | ansible/roles/mail-client/tasks/main.yml | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/ansible/roles/mail-client/tasks/main.yml b/ansible/roles/mail-client/tasks/main.yml index 3af3106..d9effed 100644 --- a/ansible/roles/mail-client/tasks/main.yml +++ b/ansible/roles/mail-client/tasks/main.yml @@ -7,38 +7,4 @@ - notmuch-mutt - offlineimap - procmail - - wotsap - clab - - urlview - -# A mail client needs to send mail. I prefer to send via a local MTA, -# which routes things out via a smarthost. - -- name: install postfix - apt: name=postfix - -- name: configure postfix - template: - src: main.cf - dest: /etc/postfix/main.cf - notify: restart postfix - -- name: set mailname - copy: - content: "{{ mailname }}\n" - dest: /etc/mailname - owner: root - group: root - mode: 0644 - -# Set up the smarthost relay credentials. - -- name: set smarthost relay credentials - template: - src: sasl_passwd - dest: /etc/postfix/sasl_passwd - mode: 0600 - -- name: postmap relay credentials - shell: | - postmap /etc/postfix/sasl_passwd |