Le jeudi 10 mars 2016 15:21:39 UTC+1, [email protected] a écrit :
>
> Now the questions :
> 1) Why these two plays do not behave the same way ? Is it a bug ?
> 2) Where do this sudo comes from ?
> 3) How can I avoid that sudo ?
>
>  
I have investigated a bit, and found this issue, which seems related :
https://github.com/ansible/ansible/issues/14720

But what I found is that I can use the same workaround, so this is working :
- hosts: ahost
  gather_facts: false
  tasks:
    - name: delegate to local
      file: dest=kikoolol state=touch
      delegate_to: local
      vars:
        ansible_become: no

-- 
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/72298543-4a0f-47f4-a172-705b8a8a48fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to