Apt retry mechanism

This commit is contained in:
otthorn 2021-01-28 00:07:23 +01:00
parent 851e459b6f
commit a54c5832a3

View file

@ -2,6 +2,7 @@
# Install and configure Dovecot
- name: Install Dovecot
apt:
update_cache: true
name:
- dovecot-core
- dovecot-imapd
@ -9,7 +10,9 @@
- dovecot-lmtpd
- dovecot-ldap
- dovecot-pop3d
update_cache: true
register: apt_result
retries: 3
until: apt_result is succeeded
# Create the vmail user with UID and GID 5000
- name: Create vmail user