Replace flatten jinja filter with list

This commit is contained in:
GARDAIS Jeremy 2024-09-04 15:34:05 +02:00
parent 4126ae49d9
commit 4619ff903d
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
## v1.2.0
### Fix
* Replace flatten jinja filter with **list**.
## v1.1.2

View File

@ -11,7 +11,7 @@
#
# List of base packages to install.
xymon_server__base_packages:
- 'xymon'
- xymon
# ]]]
# .. envvar:: xymon_server__deploy_state [[[

View File

@ -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