Apt retry mechanism
This commit is contained in:
parent
851e459b6f
commit
a54c5832a3
1 changed files with 4 additions and 1 deletions
|
@ -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…
Reference in a new issue