Set the optional item to an empty string?
with_items:
- name: name1
other: value1
- name: name2
other:
Set the optional item to an empty string?
with_items:
- name: name1
other: value1
- name: name2
other:
This idiom looks like a mess to me.
I’d break this into two calls and not pass it for the other case.
Or yes, empty string, empty string would be great.
sorry, ENOCAFFEINE this AM ![]()
Supplying an “empty string” seems messy to me where the playbook a bit messy with an extra arg.
Instead of being an optional arg, it is now a required arg that needs an empty value.