diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-11-01 11:04:21 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-11-01 11:04:21 +0100 |
commit | 85b3d2a16b5cfbb499a4ebcb88967dcdc334cf21 (patch) | |
tree | 19eabeb91afe3da8f119146ed4537128a37916a2 /ansible/roles/postfix/handlers | |
parent | dd49efbcad47f7d9e801bb12758183220dae9c86 (diff) | |
download | infra-85b3d2a16b5cfbb499a4ebcb88967dcdc334cf21.tar.gz infra-85b3d2a16b5cfbb499a4ebcb88967dcdc334cf21.tar.bz2 infra-85b3d2a16b5cfbb499a4ebcb88967dcdc334cf21.tar.xz infra-85b3d2a16b5cfbb499a4ebcb88967dcdc334cf21.zip |
o Adding postfix role, enabling for knot.
Diffstat (limited to 'ansible/roles/postfix/handlers')
-rw-r--r-- | ansible/roles/postfix/handlers/main.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ansible/roles/postfix/handlers/main.yml b/ansible/roles/postfix/handlers/main.yml new file mode 100644 index 0000000..95324ef --- /dev/null +++ b/ansible/roles/postfix/handlers/main.yml @@ -0,0 +1,11 @@ +- name: reload postfix + service: name=postfix state=reloaded + become: yes + +- name: postmap /etc/postfix/sasl_passwd + become: yes + shell: postmap /etc/postfix/sasl_passwd + +- name: postalias /etc/aliases + become: yes + shell: postalias /etc/aliases |