Tweaked the role a bit

This commit is contained in:
2022-03-15 03:20:34 +01:00
parent f2b39b5f88
commit 9e547eb7dc
3 changed files with 44 additions and 4 deletions

View File

@@ -16,6 +16,12 @@
mail will be forwarded to this address"
success_msg: "Recipient address is set"
- name: Update the cache if we are on a Debian based system
apt:
update_cache: yes
cache_valid_time: 3600
when: ansible_os_family == 'Debian'
- name: Install Postfix and s-nail
package:
state: present