mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Revert "[stable-2.7] Handle sets differently than lists in wrap_var. Fixes #47372."
This reverts commit 0e933f76ba4edb0e06f0779f5fb4b0ea85191e8b. The tests for this were broken on centos6 because jinja2 does not have a map filter on that platform. Tests need to be rewritten
This commit is contained in:
@@ -258,13 +258,3 @@
|
||||
loop: []
|
||||
register: literal_empty_list
|
||||
failed_when: literal_empty_list is not skipped
|
||||
|
||||
# https://github.com/ansible/ansible/issues/47372
|
||||
- name: Loop unsafe list
|
||||
debug:
|
||||
var: item
|
||||
with_items: "{{ things|map('string')|unique }}"
|
||||
vars:
|
||||
things:
|
||||
- !unsafe foo
|
||||
- !unsafe bar
|
||||
|
||||
Reference in New Issue
Block a user