Replace with_flattened by flatten jinja filter
This commit is contained in:
parent
c8025d6cd0
commit
3f2070368f
|
@ -6,11 +6,9 @@
|
|||
# Server Manage required system packages [[[1
|
||||
- name: Ensure required packages are in there desired state
|
||||
package:
|
||||
name: '{{ item }}'
|
||||
name: '{{ xymon_server__base_packages | flatten }}'
|
||||
state: '{{ "present" if (xymon_server__deploy_state == "present") else "absent" }}'
|
||||
install_recommends: False
|
||||
with_flattened:
|
||||
- '{{ xymon_server__base_packages | to_nice_json }}'
|
||||
register: server_pkg_result
|
||||
until: server_pkg_result is success
|
||||
|
||||
|
|
Loading…
Reference in New Issue