with_items: "{{ old_mounts | sort | reverse }}"
results in...
item=<list_reverseiterator object at 0x7fdc252dad60>
The "fix" is to use the list
filter:
with_items: "{{ old_mounts | sort | reverse | list }}"
#ansible
with_items: "{{ old_mounts | sort | reverse }}"
results in...
item=<list_reverseiterator object at 0x7fdc252dad60>
The "fix" is to use the list
filter:
with_items: "{{ old_mounts | sort | reverse | list }}"
#ansible