Hey everybody,

since I started using ansible 2.0 I've been having issues with this task:

-  synchronize: src=/src/srcfile dest=/home/{{item}}/
   remote_user: '{{item}}'
   with_items: 
     - user1
     - user2

with_items works fine for the dest parameter. It iterates through the 
entire list. But for the remote_user it uses user1 but doesn't swithc to 
user2, user3,... for the next iterations.

In ansible 1.8, which I used previously, I didn't have an issue with this. 
Do I need to use a different syntax? Or is this simply not supported 
anymore in ansible 2.0?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6cafa540-8e2a-463b-a494-a23bce7aac1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to