From 19fc82668bb19969408716161318a2309ed6482a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Wed, 27 Feb 2019 13:47:11 +0100 Subject: [PATCH] Retries packages installation --- CHANGELOG.md | 1 + tasks/main.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee0299e..33accf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### Fix * Use to_nice_json to manage packages list. * Set empty dependencies line to fix Galaxy warning. +* Retries packages installation. ## v1.0.0 diff --git a/tasks/main.yml b/tasks/main.yml index 30697c7..f18fb5d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -12,6 +12,9 @@ install_recommends: False with_flattened: - '{{ deb_sec__required_packages | to_nice_json }}' + register: pkg_result + until: pkg_result is success + # Debsecan [[[1 # Configuration [[[ - name: Debsecan configuration