include the lib/ directory. Before - PYTHONPATH is empty.. ansible fails to run $ source hacking/env-setup.fish Appending PYTHONPATH Setting up Ansible to run out of checkout... PATH=/Volumes/opt/src/ansible/bin /usr/local/share/python3 /usr/local/bin /usr/bin /bin /usr/sbin /sbin /usr/local/bin /opt/X11/bin /usr/bin /sbin /usr/local/bin /Users/ms/bin/ PYTHONPATH= ANSIBLE_LIBRARY=/Volumes/opt/src/ansible/library ... Traceback (most recent call last): File "/Volumes/opt/src/ansible/bin/ansible", line 25, in <module> from ansible.runner import Runner ImportError: No module named ansible.runner After change - it's set.. ansible runs. source hacking/env-setup.fish Appending PYTHONPATH Setting up Ansible to run out of checkout... PATH=/Volumes/opt/src/ansible/bin /usr/local/share/python3 /usr/local/bin /usr/bin /bin /usr/sbin /sbin /usr/local/bin /opt/X11/bin /usr/bin /sbin /usr/local/bin /Users/ms/bin/ PYTHONPATH=/Volumes/opt/src/ansible/lib: ANSIBLE_LIBRARY=/Volumes/opt/src/ansible/library .... $ ansible Usage: ansible <host-pattern> [options]
Name |
Last commit
|
Last update |
---|---|---|
bin | Loading commit data... | |
docs/man | Loading commit data... | |
docsite | Loading commit data... | |
examples | Loading commit data... | |
hacking | Loading commit data... | |
legacy | Loading commit data... | |
lib/ansible | Loading commit data... | |
library | Loading commit data... | |
packaging | Loading commit data... | |
plugins | Loading commit data... | |
test | Loading commit data... | |
ticket_stubs | Loading commit data... | |
.gitignore | Loading commit data... | |
CHANGELOG.md | Loading commit data... | |
CODING_GUIDELINES.md | Loading commit data... | |
CONTRIBUTING.md | Loading commit data... | |
COPYING | Loading commit data... | |
MANIFEST.in | Loading commit data... | |
Makefile | Loading commit data... | |
README.md | Loading commit data... | |
RELEASES.txt | Loading commit data... | |
VERSION | Loading commit data... | |
setup.py | Loading commit data... |