-
-
Save emonty/e3483c2e6c7390f1487a to your computer and use it in GitHub Desktop.
This file contains 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
Using /etc/ansible/ansible.cfg as config file | |
1 plays in foo.yml | |
merp | |
ESTABLISH LOCAL CONNECTION FOR USER: mordred | |
localhost EXEC (umask 22 && mkdir -p "`echo $HOME/.ansible/tmp/ansible-tmp-1452724533.18-124118197652429`" && echo "`echo $HOME/.ansible/tmp/ansible-tmp-1452724533.18-124118197652429`") | |
localhost PUT /tmp/tmpHQuvCb TO /home/mordred/.ansible/tmp/ansible-tmp-1452724533.18-124118197652429/setup | |
localhost EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /home/mordred/.ansible/tmp/ansible-tmp-1452724533.18-124118197652429/setup; rm -rf "/home/mordred/.ansible/tmp/ansible-tmp-1452724533.18-124118197652429/" > /dev/null 2>&1 | |
ESTABLISH LOCAL CONNECTION FOR USER: mordred | |
localhost EXEC (umask 22 && mkdir -p "`echo $HOME/.ansible/tmp/ansible-tmp-1452724534.31-235275040048511`" && echo "`echo $HOME/.ansible/tmp/ansible-tmp-1452724534.31-235275040048511`") | |
localhost PUT /tmp/tmpj6d9Qa TO /home/mordred/.ansible/tmp/ansible-tmp-1452724534.31-235275040048511/command | |
localhost EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /home/mordred/.ansible/tmp/ansible-tmp-1452724534.31-235275040048511/command; rm -rf "/home/mordred/.ansible/tmp/ansible-tmp-1452724534.31-235275040048511/" > /dev/null 2>&1 | |
Jan 13 2016 17:35:34 - OK - omitted | |
Jan 13 2016 17:35:34 - OK - {"module_name": "command", "module_args": {"_raw_params": "echo Hello world", "_uses_shell": true}} => {"cmd": "echo Hello world", "end": "2016-01-13 17:35:34.353752", "_ansible_no_log": false, "stdout": "Hello world", "changed": true, "rc": 0, "start": "2016-01-13 17:35:34.348880", "stderr": "", "delta": "0:00:00.004872", "stdout_lines": ["Hello world"], "warnings": []} | |
PLAY RECAP ********************************************************************* | |
localhost : ok=2 changed=1 unreachable=0 failed=0 | |
This file contains 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
--- | |
- hosts: localhost | |
tasks: | |
- {name: test, shell: echo Hello world} |
This file contains 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
localhost ansible_connection=local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment