Skip to content

Instantly share code, notes, and snippets.

@daften
Last active October 4, 2017 11:15
Show Gist options
  • Save daften/004a517828bd679cd86a04bb1cb62b06 to your computer and use it in GitHub Desktop.
Save daften/004a517828bd679cd86a04bb1cb62b06 to your computer and use it in GitHub Desktop.
Ansible hangs
changed: [vm_local] => (item=daisydisk) => {
"changed": true,
"invocation": {
"module_args": {
"install_options": [],
"name": [
"daisydisk"
],
"path": "/usr/local/bin",
"state": "present",
"update_homebrew": false
}
},
"item": "daisydisk",
"msg": "Cask installed: daisydisk"
}
Using module file /Library/Python/2.7/site-packages/ansible/modules/packaging/os/homebrew_cask.py
<localhost> ESTABLISH SSH CONNECTION FOR USER: daften
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2200 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=daften -o ConnectTimeout=10 -o ControlPath=/Users/blommedi/.ansible/cp/eca8ced4d9 localhost '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
<localhost> (0, '/Users/daften\n', '')
<localhost> ESTABLISH SSH CONNECTION FOR USER: daften
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2200 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=daften -o ConnectTimeout=10 -o ControlPath=/Users/blommedi/.ansible/cp/eca8ced4d9 localhost '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /Users/daften/.ansible/tmp/ansible-tmp-1507109801.55-139130974034752 `" && echo ansible-tmp-1507109801.55-139130974034752="` echo /Users/daften/.ansible/tmp/ansible-tmp-1507109801.55-139130974034752 `" ) && sleep 0'"'"''
<localhost> (0, 'ansible-tmp-1507109801.55-139130974034752=/Users/daften/.ansible/tmp/ansible-tmp-1507109801.55-139130974034752\n', '')
<localhost> PUT /var/folders/7m/g2lhyq892_ggybj01h7znf3wyjw_f3/T/tmpa6BtRY TO /Users/daften/.ansible/tmp/ansible-tmp-1507109801.55-139130974034752/homebrew_cask.py
<localhost> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2200 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=daften -o ConnectTimeout=10 -o ControlPath=/Users/blommedi/.ansible/cp/eca8ced4d9 '[localhost]'
<localhost> (0, 'sftp> put /var/folders/7m/g2lhyq892_ggybj01h7znf3wyjw_f3/T/tmpa6BtRY /Users/daften/.ansible/tmp/ansible-tmp-1507109801.55-139130974034752/homebrew_cask.py\n', '')
<localhost> ESTABLISH SSH CONNECTION FOR USER: daften
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2200 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=daften -o ConnectTimeout=10 -o ControlPath=/Users/blommedi/.ansible/cp/eca8ced4d9 localhost '/bin/sh -c '"'"'chmod u+x /Users/daften/.ansible/tmp/ansible-tmp-1507109801.55-139130974034752/ /Users/daften/.ansible/tmp/ansible-tmp-1507109801.55-139130974034752/homebrew_cask.py && sleep 0'"'"''
<localhost> (0, '', '')
<localhost> ESTABLISH SSH CONNECTION FOR USER: daften
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2200 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=daften -o ConnectTimeout=10 -o ControlPath=/Users/blommedi/.ansible/cp/eca8ced4d9 -tt localhost '/bin/sh -c '"'"'/usr/bin/python /Users/daften/.ansible/tmp/ansible-tmp-1507109801.55-139130974034752/homebrew_cask.py; rm -rf "/Users/daften/.ansible/tmp/ansible-tmp-1507109801.55-139130974034752/" > /dev/null 2>&1 && sleep 0'"'"''
<localhost> (0, '\r\n{"msg": "Cask installed: skype", "invocation": {"module_args": {"update_homebrew": false, "install_options": [], "state": "present", "name": ["skype"], "path": "/usr/local/bin"}}, "changed": true}\r\n', 'Shared connection to localhost closed.\r\n')
changed: [vm_local] => (item=skype) => {
"changed": true,
"invocation": {
"module_args": {
"install_options": [],
"name": [
"skype"
],
"path": "/usr/local/bin",
"state": "present",
"update_homebrew": false
}
},
"item": "skype",
"msg": "Cask installed: skype"
}
Using module file /Library/Python/2.7/site-packages/ansible/modules/packaging/os/homebrew_cask.py
<localhost> ESTABLISH SSH CONNECTION FOR USER: daften
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2200 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=daften -o ConnectTimeout=10 -o ControlPath=/Users/blommedi/.ansible/cp/eca8ced4d9 localhost '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
<localhost> (0, '/Users/daften\n', '')
<localhost> ESTABLISH SSH CONNECTION FOR USER: daften
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2200 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=daften -o ConnectTimeout=10 -o ControlPath=/Users/blommedi/.ansible/cp/eca8ced4d9 localhost '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /Users/daften/.ansible/tmp/ansible-tmp-1507109820.76-91665688233728 `" && echo ansible-tmp-1507109820.76-91665688233728="` echo /Users/daften/.ansible/tmp/ansible-tmp-1507109820.76-91665688233728 `" ) && sleep 0'"'"''
<localhost> (0, 'ansible-tmp-1507109820.76-91665688233728=/Users/daften/.ansible/tmp/ansible-tmp-1507109820.76-91665688233728\n', '')
<localhost> PUT /var/folders/7m/g2lhyq892_ggybj01h7znf3wyjw_f3/T/tmp64oaFc TO /Users/daften/.ansible/tmp/ansible-tmp-1507109820.76-91665688233728/homebrew_cask.py
<localhost> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2200 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=daften -o ConnectTimeout=10 -o ControlPath=/Users/blommedi/.ansible/cp/eca8ced4d9 '[localhost]'
<localhost> (0, 'sftp> put /var/folders/7m/g2lhyq892_ggybj01h7znf3wyjw_f3/T/tmp64oaFc /Users/daften/.ansible/tmp/ansible-tmp-1507109820.76-91665688233728/homebrew_cask.py\n', '')
<localhost> ESTABLISH SSH CONNECTION FOR USER: daften
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2200 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=daften -o ConnectTimeout=10 -o ControlPath=/Users/blommedi/.ansible/cp/eca8ced4d9 localhost '/bin/sh -c '"'"'chmod u+x /Users/daften/.ansible/tmp/ansible-tmp-1507109820.76-91665688233728/ /Users/daften/.ansible/tmp/ansible-tmp-1507109820.76-91665688233728/homebrew_cask.py && sleep 0'"'"''
<localhost> (0, '', '')
<localhost> ESTABLISH SSH CONNECTION FOR USER: daften
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=2200 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=daften -o ConnectTimeout=10 -o ControlPath=/Users/blommedi/.ansible/cp/eca8ced4d9 -tt localhost '/bin/sh -c '"'"'/usr/bin/python /Users/daften/.ansible/tmp/ansible-tmp-1507109820.76-91665688233728/homebrew_cask.py; rm -rf "/Users/daften/.ansible/tmp/ansible-tmp-1507109820.76-91665688233728/" > /dev/null 2>&1 && sleep 0'"'"''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment