diff --git a/CHANGELOG.md b/CHANGELOG.md index 46d035e..609b2a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v1.2.0 + +### Fix +* Replace flatten jinja filter with **list**. ## v1.1.2 diff --git a/defaults/main.yml b/defaults/main.yml index d06c6f9..be9843b 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -11,7 +11,7 @@ # # List of base packages to install. xymon_server__base_packages: - - 'xymon' + - xymon # ]]] # .. envvar:: xymon_server__deploy_state [[[ diff --git a/tasks/main.yml b/tasks/main.yml index 5ce0acb..e8165b6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -6,7 +6,7 @@ # Server Manage required system packages [[[1 - name: Ensure required packages are in there desired state package: - name: '{{ xymon_server__base_packages | flatten }}' + name: '{{ xymon_server__base_packages | list }}' state: '{{ "present" if (xymon_server__deploy_state == "present") else "absent" }}' install_recommends: False register: server_pkg_result