Use to_nice_json to manage packages list

This commit is contained in:
Jeremy Gardais 2019-02-27 14:00:22 +01:00
parent f32fe4f873
commit 654ffc8d43
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
### Fix ### Fix
* Fix E405 Remote package tasks should have a retry. * Fix E405 Remote package tasks should have a retry.
* Use to_nice_json to manage packages list.
## v1.1.1 ## v1.1.1

View File

@ -54,7 +54,7 @@
state: 'present' state: 'present'
install_recommends: False install_recommends: False
with_flattened: with_flattened:
- '{{ basics__resolvconf_packages }}' - '{{ basics__resolvconf_packages | to_nice_json }}'
register: resolv_pkg_result register: resolv_pkg_result
until: resolv_pkg_result is success until: resolv_pkg_result is success
when: basics__resolvconf_enabled|bool when: basics__resolvconf_enabled|bool