Use flatten to manage packages list
This commit is contained in:
parent
3993f20716
commit
82833be113
|
@ -1,3 +1,8 @@
|
|||
## v2.0.1
|
||||
|
||||
### Fix
|
||||
* Use flatten to manage packages list.
|
||||
|
||||
## v2.0.0
|
||||
|
||||
### Features
|
||||
|
|
|
@ -6,11 +6,9 @@
|
|||
# Manage required system packages [[[1
|
||||
- name: Ensure required packages are in there desired state
|
||||
package:
|
||||
name: '{{ item }}'
|
||||
name: '{{ arpwatch__base_packages | flatten }}'
|
||||
state: 'present'
|
||||
install_recommends: False
|
||||
with_flattened:
|
||||
- '{{ arpwatch__base_packages | to_nice_json }}'
|
||||
register: pkg_result
|
||||
until: pkg_result is success
|
||||
when: arpwatch__enabled|bool
|
||||
|
|
Loading…
Reference in New Issue