Use to_nice_json to manage packages list
This commit is contained in:
parent
420e504a83
commit
f0054c2897
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
### Minor changes
|
### Minor changes
|
||||||
* Give the correct path in comment to see ldap_default_authtok value.
|
* Give the correct path in comment to see ldap_default_authtok value.
|
||||||
|
* Use to_nice_json to manage packages list.
|
||||||
|
|
||||||
## v1.2.2
|
## v1.2.2
|
||||||
|
|
||||||
|
|
|
@ -13,13 +13,15 @@
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: "{{ sssd_pkg_state }}"
|
state: "{{ sssd_pkg_state }}"
|
||||||
with_items: "{{ sssd_pkg_list }}"
|
with_flattened:
|
||||||
|
- '{{ sssd_pkg_list | to_nice_json }}'
|
||||||
|
|
||||||
- name: Remove unwanted packages
|
- name: Remove unwanted packages
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: "{{ sssd__unwanted_packages_state }}"
|
state: "{{ sssd__unwanted_packages_state }}"
|
||||||
with_items: "{{ sssd__unwanted_packages_list }}"
|
with_flattened:
|
||||||
|
- '{{ sssd__unwanted_packages_list | to_nice_json }}'
|
||||||
# ]]]
|
# ]]]
|
||||||
|
|
||||||
# Update nsswitch.conf
|
# Update nsswitch.conf
|
||||||
|
|
Loading…
Reference in New Issue