ansible installs but fails to run
Ansible 1.9 and up install but on execution results in the following output:
root@localhost:~# ansible
Traceback (most recent call last):
File "/usr/bin/ansible", line 40, in
I'm not sure what function isn't implemented here, but according to http://stackoverflow.com/questions/2009278/python-multiprocessing-permission-denied, semaphores require /dev/shm, which isn't implemented (yet?)
Same problem as here: #16
Thanks for reporting the issue. We recently added tmpfs mounts for run (e.g. /run, /run/lock, /run/user, and /run/shm) with permissions that match native Ubuntu. This change should be out for insiders soon.
Locally I was able to confirm the issue above and that it was resolved after the fix.
I'm running build 14342.rs1_release.160506-1708 and can confirm that Ansible 2.0.2.0 has been able to install and seems to be working as expected from the Ansible PPA.
@robotmaxtron - Thanks for validating this. Marking it fixed as per the comment above.
I'm in the same boat as @robotmaxtron. Ansible 2.2.0 from source looks like it's working as I'd expect.
Closing this out as this issue is now fixed, please reopen if you continue to have issues with Ansible.
Cross-reference; This issue was raised in uservoice also ; https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/13333764-python-bugs