Use to_nice_json and retries for install packages

This commit is contained in:
Jeremy Gardais 2019-02-27 13:35:12 +01:00
parent bdf21e739a
commit 1f15433cb5
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
## v1.0 ## v1.0.0
### Features ### Features
* Install Netdata. * Install Netdata.

View File

@ -10,7 +10,9 @@
state: '{{ "present" if (netdata__deploy_state == "present") else "absent" }}' state: '{{ "present" if (netdata__deploy_state == "present") else "absent" }}'
install_recommends: '{{ netdata__install_recommends | bool }}' install_recommends: '{{ netdata__install_recommends | bool }}'
with_flattened: 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 # Server Manage /etc configuration files [[[1
- name: Ensure Netdata directory structure exists - name: Ensure Netdata directory structure exists