Created
August 15, 2013 18:10
-
-
Save pol/6243196 to your computer and use it in GitHub Desktop.
setup module hangs on a vz machine (this isn't the first time i have gotten this). NOTE: It worked once! Then it didn't. :(
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ☹ ~/Projects/Ansible/msu_ansible ∴ ansible-playbook site.yml -i production -k --limit "<HOST>" -c paramiko -vvv | |
| SSH password: | |
| PLAY [virt2:virt3] ************************************************************ | |
| GATHERING FACTS *************************************************************** | |
| <HOST> ESTABLISH CONNECTION FOR USER: pol on PORT 22 TO <HOST> | |
| <HOST> EXEC /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-1376589410.62-37098251026012 && chmod a+rx $HOME/.ansible/tmp/ansible-1376589410.62-37098251026012 && echo $HOME/.ansible/tmp/ansible-1376589410.62-37098251026012' | |
| <HOST> REMOTE_MODULE setup | |
| <HOST> PUT /var/folders/lg/_rds9m6n12l5gkn5xgl6kpsm0000gn/T/tmposXcgY TO /home/pol/.ansible/tmp/ansible-1376589410.62-37098251026012/setup | |
| <HOST> EXEC /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=gnklrnlvvqmsoeunsxvefooptkmiyehs] password: " -u root /bin/sh -c '"'"'/usr/bin/python /home/pol/.ansible/tmp/ansible-1376589410.62-37098251026012/setup; rm -rf /home/pol/.ansible/tmp/ansible-1376589410.62-37098251026012/ >/dev/null 2>&1'"'"'' | |
| --- HANG --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [pol@HOST:~/ansible-devel] source ./hacking/env-setup | |
| Setting up Ansible to run out of checkout... | |
| PATH=/home/pol/ansible-devel/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games | |
| PYTHONPATH=/home/pol/ansible-devel/lib: | |
| ANSIBLE_LIBRARY=/home/pol/ansible-devel/library | |
| MANPATH=/home/pol/ansible-devel/docs/man: | |
| Remember, you may wish to specify your host file with -i | |
| Done! | |
| [pol@HOST:~/ansible-devel] ./hacking/test-module library/system/setup | |
| /home/pol/ansible-devel/lib/ansible/utils/__init__.py:721: Warning: 'with' will become a reserved keyword in Python 2.6 | |
| Traceback (most recent call last): | |
| File "./hacking/test-module", line 36, in <module> | |
| import ansible.utils as utils | |
| File "/home/pol/ansible-devel/lib/ansible/utils/__init__.py", line 721 | |
| with warnings.catch_warnings(): | |
| ^ | |
| SyntaxError: invalid syntax |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment