I'm using ansible 2.2.0.0 and running in to a problem every time I use 
"sh". I've run this same playbook against a vm on virtualbox on my local 
machine, but the user had very broad permissions. Now I'm trying to run 
against a remote server where the user has very limited permissions, so 
misleading message and a permissions problem is my best guess so far, but I 
can't figure out what specific permission might be needed.  

After keeping the temp files on the remote server, when I run $ python 
command.py there I get the following error:

Traceback (most recent call last):
  File "/tmp/ansible_VG8VKH/ansible_module_command.py", line 212, in 
<module>
    main()
  File "/tmp/ansible_VG8VKH/ansible_module_command.py", line 189, in main
    rc, out, err = module.run_command(args, executable=executable, 
use_unsafe_shell=shell, encoding=None)
TypeError: run_command() got an unexpected keyword argument 'encoding'

I'm not able to find the /tmp files at all after the command.py executes, 
so I haven't been able to look there to see what might be going on...

Eric

-- 
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/e8b1f99d-f915-45b4-b633-ec71a574d977%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to