Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshribakoff/92185d520caa73b9741bc37e88154d3c to your computer and use it in GitHub Desktop.
Save joshribakoff/92185d520caa73b9741bc37e88154d3c to your computer and use it in GitHub Desktop.
RUNNING HANDLER [restart apache] ***********************************************
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/system/service.py
<default> ESTABLISH LOCAL CONNECTION FOR USER: vagrant
<default> EXEC /bin/sh -c 'echo ~ && sleep 0'
<default> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp/ansible-tmp-1500439923.22-278690191575535 `" && echo ansible-tmp-1500439923.22-278690191575535="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1500439923.22-278690191575535 `" ) && sleep 0'
<default> PUT /tmp/tmphV7b7H TO /home/vagrant/.ansible/tmp/ansible-tmp-1500439923.22-278690191575535/service.py
<default> EXEC /bin/sh -c 'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1500439923.22-278690191575535/ /home/vagrant/.ansible/tmp/ansible-tmp-1500439923.22-278690191575535/service.py && sleep 0'
<default> EXEC /bin/sh -c '/usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1500439923.22-278690191575535/service.py; rm -rf "/home/vagrant/.ansible/tmp/ansible-tmp-1500439923.22-278690191575535/" > /dev/null 2>&1 && sleep 0'
changed: [default] => {
"changed": true,
"invocation": {
"module_args": {
"arguments": "",
"enabled": null,
"name": "apache2",
"pattern": null,
"runlevel": "default",
"sleep": null,
"state": "restarted"
}
},
"name": "apache2",
"state": "started"
}
META: ran handlers
META: ran handlers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment