Use flatten to manage packages list
This commit is contained in:
parent
d0e0247978
commit
831dd45abd
|
@ -1,9 +1,12 @@
|
|||
## v1.X
|
||||
## v1.3.2
|
||||
|
||||
### Enhancements
|
||||
|
||||
* Add a var to disable the role.
|
||||
|
||||
### Fix
|
||||
* Use flatten to manage packages list.
|
||||
|
||||
## v1.3.1
|
||||
|
||||
### Enhancements
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
name: "{{ item }}"
|
||||
state: 'present'
|
||||
with_flattened:
|
||||
- '{{ sssd_pkg_list | to_nice_json }}'
|
||||
- '{{ sssd_pkg_list | flatten }}'
|
||||
register: sssd_pkg_result
|
||||
until: sssd_pkg_result is success
|
||||
when: (sssd__deploy_state == "present")
|
||||
|
@ -27,7 +27,7 @@
|
|||
name: "{{ item }}"
|
||||
state: "{{ sssd__unwanted_packages_state }}"
|
||||
with_flattened:
|
||||
- '{{ sssd__unwanted_packages_list | to_nice_json }}'
|
||||
- '{{ sssd__unwanted_packages_list | flatten }}'
|
||||
register: sssd_remove_result
|
||||
until: sssd_remove_result is success
|
||||
when: (sssd__deploy_state == "present")
|
||||
|
|
Loading…
Reference in New Issue