mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
parent
d5e4f37ca0
commit
f6ecdf0b87
3 changed files with 19 additions and 1 deletions
|
@ -258,3 +258,13 @@
|
|||
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|list|unique }}"
|
||||
vars:
|
||||
things:
|
||||
- !unsafe foo
|
||||
- !unsafe bar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue