Yes, it is correct. the python version on the target is 2.4.

Thanks for your valuable answer.

On Wednesday, May 15, 2019 at 7:04:28 PM UTC+4, Brian Coca wrote:
>
> The error suggests your target has a very old version of python `with` 
> was introduced in Python 2.6 (iirc), which is the minimum supported by 
> current versions of Ansible. 
> Support for older versions of Python was dropped in Ansible 2.4. 
>
> You probably need to upgrade the python on the target and/or point to 
> a newer version via ansible_python_inteprteter 
>
> @kai, user@host is valid inventory syntax, it is not something we 
> recommend but it does work. 
> -- 
> ---------- 
> Brian Coca 
>

-- 
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/c93af9da-fa32-4d72-8f09-69f55eb03757%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to