Skip to content
Snippets Groups Projects

Postfix

Merged Chris Croome requested to merge postfix into master
14 files
+ 239
113
Compare changes
  • Side-by-side
  • Inline
Files
14
+ 5
5
---
- name: Stat "/etc/exim4/mail-receiver-environment.json"
- name: Stat "/etc/postfix/mail-receiver-environment.json"
stat:
path: "/etc/exim4/mail-receiver-environment.json"
path: "/etc/postfix/mail-receiver-environment.json"
register: mail_receiver_environment
- block:
@@ -9,9 +9,9 @@
- name: Discourse scripts environmental variables file in place
template:
src: templates/mail-receiver-environment.json.j2
dest: /etc/exim4/mail-receiver-environment.json
mode: 0640
group: Debian-exim
dest: /etc/postfix/mail-receiver-environment.json
mode: 0644
group: root
owner: root
when: mail_receiver_environment.stat.exists == False
Loading