Skip to content

Instantly share code, notes, and snippets.

@itolosa
Created June 9, 2017 08:26
Show Gist options
  • Save itolosa/b520e5000777fecff7ca693fcdee62f6 to your computer and use it in GitHub Desktop.
Save itolosa/b520e5000777fecff7ca693fcdee62f6 to your computer and use it in GitHub Desktop.
No config file found; using defaults
statically included: /Users/nachoman/Documents/gitrepos/infrastructure/playbook/roles/geerlingguy.firewall/tasks/disable-other-firewalls.yml
statically included: /Users/nachoman/Documents/gitrepos/infrastructure/playbook/roles/jdauphant.nginx/tasks/selinux.yml
statically included: /Users/nachoman/Documents/gitrepos/infrastructure/playbook/roles/jdauphant.nginx/tasks/nginx-official-repo.yml
statically included: /Users/nachoman/Documents/gitrepos/infrastructure/playbook/roles/jdauphant.nginx/tasks/installation.packages.yml
statically included: /Users/nachoman/Documents/gitrepos/infrastructure/playbook/roles/jdauphant.nginx/tasks/ensure-dirs.yml
statically included: /Users/nachoman/Documents/gitrepos/infrastructure/playbook/roles/jdauphant.nginx/tasks/remove-defaults.yml
statically included: /Users/nachoman/Documents/gitrepos/infrastructure/playbook/roles/jdauphant.nginx/tasks/remove-extras.yml
statically included: /Users/nachoman/Documents/gitrepos/infrastructure/playbook/roles/jdauphant.nginx/tasks/remove-unwanted.yml
statically included: /Users/nachoman/Documents/gitrepos/infrastructure/playbook/roles/jdauphant.nginx/tasks/configuration.yml
Loading callback plugin default of type stdout, v2.0 from /Library/Python/2.7/site-packages/ansible/plugins/callback/__init__.pyc
PLAYBOOK: site.yml ****************************************************************************************************************************************************************************************
1 plays in site.yml
PLAY [all] ************************************************************************************************************************************************************************************************
META: ran handlers
TASK [common : group install ansible dependencies] ********************************************************************************************************************************************************
task path: /Users/nachoman/Documents/gitrepos/infrastructure/playbook/roles/common/tasks/main.yml:11
<46.101.187.225> ESTABLISH SSH CONNECTION FOR USER: root
<46.101.187.225> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/nachoman/.ansible/cp/3db8baf9a0 -tt 46.101.187.225 'dnf groupinstall "Ansible node" -y'
<46.101.187.225> (0, "Last metadata expiration check: 0:45:44 ago on Fri Jun 9 03:39:38 2017.\r\nGroup 'Ansible node' is already installed, skipping.\r\nDependencies resolved.\r\nNothing to do.\r\nComplete!\r\n", 'OpenSSH_6.9p1, LibreSSL 2.1.8\r\ndebug1: Reading configuration data /Users/nachoman/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 20: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 53: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 95878\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to 46.101.187.225 closed.\r\n')
changed: [46.101.187.225] => {
"changed": true,
"rc": 0,
"stderr": "OpenSSH_6.9p1, LibreSSL 2.1.8\r\ndebug1: Reading configuration data /Users/nachoman/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 20: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 53: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 95878\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to 46.101.187.225 closed.\r\n",
"stdout": "Last metadata expiration check: 0:45:44 ago on Fri Jun 9 03:39:38 2017.\r\nGroup 'Ansible node' is already installed, skipping.\r\nDependencies resolved.\r\nNothing to do.\r\nComplete!\r\n",
"stdout_lines": [
"Last metadata expiration check: 0:45:44 ago on Fri Jun 9 03:39:38 2017.",
"Group 'Ansible node' is already installed, skipping.",
"Dependencies resolved.",
"Nothing to do.",
"Complete!"
]
}
TASK [common : gather facts] ******************************************************************************************************************************************************************************
task path: /Users/nachoman/Documents/gitrepos/infrastructure/playbook/roles/common/tasks/main.yml:17
Using module file /Library/Python/2.7/site-packages/ansible/modules/system/setup.py
<46.101.187.225> ESTABLISH SSH CONNECTION FOR USER: root
<46.101.187.225> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/nachoman/.ansible/cp/3db8baf9a0 46.101.187.225 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
<46.101.187.225> (0, '/root\n', 'OpenSSH_6.9p1, LibreSSL 2.1.8\r\ndebug1: Reading configuration data /Users/nachoman/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 20: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 53: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 95878\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<46.101.187.225> ESTABLISH SSH CONNECTION FOR USER: root
<46.101.187.225> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/nachoman/.ansible/cp/3db8baf9a0 46.101.187.225 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1496996725.09-158484671666758 `" && echo ansible-tmp-1496996725.09-158484671666758="` echo /root/.ansible/tmp/ansible-tmp-1496996725.09-158484671666758 `" ) && sleep 0'"'"''
<46.101.187.225> (0, 'ansible-tmp-1496996725.09-158484671666758=/root/.ansible/tmp/ansible-tmp-1496996725.09-158484671666758\n', 'OpenSSH_6.9p1, LibreSSL 2.1.8\r\ndebug1: Reading configuration data /Users/nachoman/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 20: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 53: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 95878\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<46.101.187.225> PUT /var/folders/qz/95q79vv51mv1m86126ly96jw0000gp/T/tmppDE_tG TO /root/.ansible/tmp/ansible-tmp-1496996725.09-158484671666758/setup.py
<46.101.187.225> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/nachoman/.ansible/cp/3db8baf9a0 '[46.101.187.225]'
<46.101.187.225> (255, '', 'OpenSSH_6.9p1, LibreSSL 2.1.8\r\ndebug1: Reading configuration data /Users/nachoman/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 20: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 53: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 95878\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 127\r\nConnection closed\r\n')
fatal: [46.101.187.225]: UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: OpenSSH_6.9p1, LibreSSL 2.1.8\r\ndebug1: Reading configuration data /Users/nachoman/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 20: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 53: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 95878\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 127\r\nConnection closed\r\n",
"unreachable": true
}
to retry, use: --limit @/Users/nachoman/Documents/gitrepos/infrastructure/playbook/site.retry
PLAY RECAP ************************************************************************************************************************************************************************************************
46.101.187.225 : ok=1 changed=1 unreachable=1 failed=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment