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
|
## v2.0.0
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
|
@ -6,11 +6,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: '{{ arpwatch__base_packages | flatten }}'
|
||||||
state: 'present'
|
state: 'present'
|
||||||
install_recommends: False
|
install_recommends: False
|
||||||
with_flattened:
|
|
||||||
- '{{ arpwatch__base_packages | to_nice_json }}'
|
|
||||||
register: pkg_result
|
register: pkg_result
|
||||||
until: pkg_result is success
|
until: pkg_result is success
|
||||||
when: arpwatch__enabled|bool
|
when: arpwatch__enabled|bool
|
||||||
|
|
Loading…
Reference in New Issue