diff --git a/CHANGELOG.md b/CHANGELOG.md index ab30349..b45af01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v1.0.1 + +### Fix +* Use flatten to manage packages list. ## v1.0.0 diff --git a/tasks/main.yml b/tasks/main.yml index 7a63144..0632e38 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -6,11 +6,9 @@ # Manage base system packages [[[1 - name: Ensure base packages are in there desired state package: - name: '{{ item }}' + name: '{{ netdata__base_packages | flatten }}' state: '{{ "present" if (netdata__deploy_state == "present") else "absent" }}' install_recommends: '{{ netdata__install_recommends | bool }}' - with_flattened: - - '{{ netdata__base_packages | to_nice_json }}' register: pkg_result until: pkg_result is success