aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/postfix-satellite
diff options
context:
space:
mode:
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