Use flatten to manage packages list
This commit is contained in:
parent
c0a911d5df
commit
edd21486f8
|
@ -1,3 +1,8 @@
|
||||||
|
## v2.3.2
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
* Use flatten to manage packages list.
|
||||||
|
|
||||||
## v2.3.1
|
## v2.3.1
|
||||||
### Enhancements
|
### Enhancements
|
||||||
* Works with Debian Bullseye.
|
* Works with Debian Bullseye.
|
||||||
|
|
|
@ -18,11 +18,9 @@
|
||||||
# Manage required system packages [[[1
|
# 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: '{{ item }}'
|
name: '{{ flexlm__required_packages | flatten }}'
|
||||||
state: '{{ "present" if (flexlm__deploy_state == "present") else "absent" }}'
|
state: '{{ "present" if (flexlm__deploy_state == "present") else "absent" }}'
|
||||||
install_recommends: False
|
install_recommends: False
|
||||||
with_flattened:
|
|
||||||
- '{{ flexlm__required_packages | to_nice_json }}'
|
|
||||||
register: flexlm_pkg_result
|
register: flexlm_pkg_result
|
||||||
until: flexlm_pkg_result is success
|
until: flexlm_pkg_result is success
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue