As suggested by the documentation ( 
http://docs.ansible.com/ansible/intro_configuration.html#sudo-user ), i 
would say the remote. just to be clear, your remote is a Linux/Unix 
machine? double check your indentation in your playbook to be sure nothing 
is wrong here. 
can you try: ansible 10.95.46.117 -m ping 

Maybe consider to upgrade your ansible version (and your ubuntu)
What i don't understand is that you have an error related to syntax while i 
can't find anything unusual.. 

Le mardi 21 juillet 2015 13:48:07 UTC+1, Юра Фролов a écrit :
>
>
> ---
> - host:10.95.46.117
>   sudo:True
>   sudo_user:user  
>    task:
>        - name: install freeradius
>                 apt:pkg=freeradius
>        - name: copy config
>                 copy:src="/etc/ansible/roles/preconf/templates/freeradius" 
> dest="/etc/"
>                       owner=root group=freeradius mode=0755
>                  notify:
>                      - restart freeradius
>
>
> sudo_user:user  it is user remote PC or user local PC?
>

-- 
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/15b23e14-41e1-41c6-a282-b4cabe1e173b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to