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/CACVha7fNf81%2BHUVfOz2RypMQ%2BszTa2Y2pQQJp3zxrWpPN_0_TQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to