Hello,
I have a simplified task like so on the current devel branch :
- name: create sites directory
file: path=/home/{{ item }}/sites state=directory
sudo: yes
sudo_user: “prefix{{ item }}suffix”
with_items: - user1
- user2
I get the error :
invalid output was: sudo: unknown user: prefixsuffix
so the templating seems to be done, but without the correct value for {{ item }}.
Am I missing something ?
Thank you