>
> Thanks for the update. I created the group_vars and added the windows.yml 
>> in there/ Tried an ansible all -m ping -vvvv and get the following error
>>
>
On the linux control machine when I look at the python version it is 2.7.5, 
do I need to update that?

Error msg - 

Loaded callback minimal of type stdout, v2.0
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
  File 
"/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 
124, in run
    res = self._execute()
  File 
"/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 
411, in _execute
    self._connection = self._get_connection(variables=variables, 
templar=templar)
  File 
"/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 
636, in _get_connection
    connection = self._shared_loader_obj.connection_loader.get(conn_type, 
self._play_context, self._new_stdin)
  File "/usr/lib/python2.7/site-packages/ansible/plugins/__init__.py", line 
333, in get
    self._module_cache[path] = 
self._load_module_source('.'.join([self.package, name]), path)
  File "/usr/lib/python2.7/site-packages/ansible/plugins/__init__.py", line 
319, in _load_module_source
    module = imp.load_source(name, path, module_file)
  File 
"/usr/lib/python2.7/site-packages/ansible/plugins/connection/winrm.py", 
line 28, in <module>
    import xmltodict
ImportError: No module named xmltodict

10.10.128.0 | FAILED! => {
    "failed": true,
    "msg": "Unexpected failure during module execution.",
    "stdout": ""
 

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/99944add-7c43-4c5c-b254-6a4047402552%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to