Replace flatten jinja filter with list
This commit is contained in:
parent
4126ae49d9
commit
3946b43ad4
|
@ -1,3 +1,7 @@
|
||||||
|
## v1.2.0
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
* Replace flatten jinja filter with **list**.
|
||||||
|
|
||||||
## v1.1.2
|
## v1.1.2
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#
|
#
|
||||||
# List of base packages to install.
|
# List of base packages to install.
|
||||||
xymon_server__base_packages:
|
xymon_server__base_packages:
|
||||||
- 'xymon'
|
- xymon
|
||||||
|
|
||||||
# ]]]
|
# ]]]
|
||||||
# .. envvar:: xymon_server__deploy_state [[[
|
# .. envvar:: xymon_server__deploy_state [[[
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
# Server Manage required system packages [[[1
|
# Server Manage required system packages [[[1
|
||||||
- name: Ensure required packages are in there desired state
|
- name: Ensure required packages are in there desired state
|
||||||
package:
|
package:
|
||||||
name: '{{ xymon_server__base_packages | flatten }}'
|
name: '{{ xymon_server__base_packages | list }}'
|
||||||
state: '{{ "present" if (xymon_server__deploy_state == "present") else "absent" }}'
|
state: '{{ "present" if (xymon_server__deploy_state == "present") else "absent" }}'
|
||||||
install_recommends: False
|
install_recommends: False
|
||||||
register: server_pkg_result
|
register: server_pkg_result
|
||||||
|
|
Loading…
Reference in New Issue