From 1f15433cb58848d4ba8c62cc549fbc9cf2862c0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Wed, 27 Feb 2019 13:35:12 +0100 Subject: [PATCH] Use to_nice_json and retries for install packages --- CHANGELOG.md | 2 +- tasks/main.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6906dd9..ab30349 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ -## v1.0 +## v1.0.0 ### Features * Install Netdata. diff --git a/tasks/main.yml b/tasks/main.yml index 4fa1a65..7a63144 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -10,7 +10,9 @@ state: '{{ "present" if (netdata__deploy_state == "present") else "absent" }}' install_recommends: '{{ netdata__install_recommends | bool }}' with_flattened: - - '{{ netdata__base_packages }}' + - '{{ netdata__base_packages | to_nice_json }}' + register: pkg_result + until: pkg_result is success # Server Manage /etc configuration files [[[1 - name: Ensure Netdata directory structure exists