aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/postfix-satellite
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-01-02 10:57:04 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2019-01-02 10:57:04 +0100
commit62ff27b05167118c4fa9b5b6b39300041acf80da (patch)
tree8c5e75a4cf3d43535857ae15d9ad6e3b2893dffe /ansible/roles/postfix-satellite
parent1f3564a99e21af5bd4ac4d11fa3ec7c3885e5208 (diff)
downloadinfra-62ff27b05167118c4fa9b5b6b39300041acf80da.tar.gz
infra-62ff27b05167118c4fa9b5b6b39300041acf80da.tar.bz2
infra-62ff27b05167118c4fa9b5b6b39300041acf80da.tar.xz
infra-62ff27b05167118c4fa9b5b6b39300041acf80da.zip
wireguard: Adding conflatorio.
dovecot: adding password management postfix-satellite: removing apt update ufw: handling missing variables. Allow ssh by default. all.yml: taking passwords for postfix-satellite from dovecot.
Diffstat (limited to 'ansible/roles/postfix-satellite')
-rw-r--r--ansible/roles/postfix-satellite/tasks/postfix-satellite.yml15
1 files changed, 6 insertions, 9 deletions
diff --git a/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml b/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml
index 5f8f02a..a92250a 100644
--- a/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml
+++ b/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml
@@ -1,15 +1,12 @@
-- name: Update apt cache
- apt:
- update_cache: yes
- cache_valid_time: 3600
- name: Install package
package:
- name: "{{ item }}"
+ name: "{{ items }}"
state: present
- with_items:
- - postfix
- - libsasl2-modules
- - swaks
+ vars:
+ items:
+ - postfix
+ - libsasl2-modules
+ - swaks
- name: "Configure postfix: main.cf"
tags: postfix-satellite-config