Use to_nice_json and retries for install packages
This commit is contained in:
parent
bdf21e739a
commit
1f15433cb5
|
@ -1,5 +1,5 @@
|
|||
|
||||
## v1.0
|
||||
## v1.0.0
|
||||
|
||||
### Features
|
||||
* Install Netdata.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue