Use to_nice_json to manage packages list

This commit is contained in:
Jeremy Gardais 2019-02-27 11:53:40 +01:00
parent a77f7a8088
commit baeda9ecfe
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
3 changed files with 4 additions and 5 deletions

View File

@ -1,9 +1,10 @@
## v1.X
## v1.0.1
### Fix
* Set empty dependencies line to fix Galaxy warning.
* Use to_nice_json to manage packages list.
## v1.0
## v1.0.0
### Features
* Install Arpwatch.

View File

@ -7,4 +7,3 @@
(arpwatch__service_manage | d(True) | bool))
else "stopped" }}'
enabled: '{{ arpwatch__service_manage | d(True) | bool }}'

View File

@ -10,7 +10,7 @@
state: 'present'
install_recommends: False
with_flattened:
- '{{ arpwatch__base_packages }}'
- '{{ arpwatch__base_packages | to_nice_json }}'
when: arpwatch__enabled|bool
# Manage configuration file [[[1
@ -47,4 +47,3 @@
else "stopped" }}'
enabled: '{{ ((arpwatch__enabled | d(True) | bool) and
(arpwatch__service_manage | d(True) | bool)) }}'