Fix: add a retry statement to remote package tasks

Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
This commit is contained in:
Hadrien Patte 2019-03-03 19:28:57 +01:00
parent 4555ca782b
commit b55a2ee047
No known key found for this signature in database
GPG key ID: 0954F2874A54F4B1
14 changed files with 51 additions and 0 deletions

View file

@ -4,6 +4,9 @@
apt:
name: nginx
update_cache: true
register: apt_result
retries: 3
until: apt_result is succeeded
# Install sites
- name: Configure NGINX sites