Apt retry mechanism

mailserver
otthorn 3 years ago
parent 851e459b6f
commit a54c5832a3

@ -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

Loading…
Cancel
Save