Skip to content

Instantly share code, notes, and snippets.

@RyanBreaker
Created August 23, 2018 00:17
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 RyanBreaker/916f1f16c384e9b4f4077fd7c016afb5 to your computer and use it in GitHub Desktop.
Save RyanBreaker/916f1f16c384e9b4f4077fd7c016afb5 to your computer and use it in GitHub Desktop.
ansible-playbook 2.6.3
config file = None
configured module search path = [u'/Users/breaker/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/Cellar/ansible/2.6.3/libexec/lib/python2.7/site-packages/ansible
executable location = /usr/local/bin/ansible-playbook
python version = 2.7.15 (default, Aug 17 2018, 22:39:05) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)]
No config file found; using defaults
setting up inventory plugins
Parsed /Users/breaker/ans/hosts inventory source with ini plugin
Loading callback plugin default of type stdout, v2.0 from /usr/local/Cellar/ansible/2.6.3/libexec/lib/python2.7/site-packages/ansible/plugins/callback/default.pyc
PLAYBOOK: reset.yml ****************************************************************************************************************************************************************************************
1 plays in reset.yml
PLAY [R1] **************************************************************************************************************************************************************************************************
META: ran handlers
TASK [Reset interfaces] ************************************************************************************************************************************************************************************
task path: /Users/breaker/ans/reset.yml:8
<R1> using connection plugin network_cli (was local)
<R1> starting connection from persistent connection plugin
<R1> local domain socket does not exist, starting it
<R1> control socket path is /Users/breaker/.ansible/pc/824f3405c7
<R1>
The full traceback is:
Traceback (most recent call last):
File "/usr/local/bin/ansible-connection", line 105, in start
self.connection._connect()
File "/usr/local/Cellar/ansible/2.6.3/libexec/lib/python2.7/site-packages/ansible/plugins/connection/network_cli.py", line 298, in _connect
ssh = self.paramiko_conn._connect()
File "/usr/local/Cellar/ansible/2.6.3/libexec/lib/python2.7/site-packages/ansible/plugins/connection/paramiko_ssh.py", line 249, in _connect
self.ssh = SSH_CONNECTION_CACHE[cache_key] = self._connect_uncached()
File "/usr/local/Cellar/ansible/2.6.3/libexec/lib/python2.7/site-packages/ansible/plugins/connection/paramiko_ssh.py", line 365, in _connect_uncached
raise AnsibleConnectionFailure(msg)
AnsibleConnectionFailure: [Errno 8] nodename nor servname provided, or not known
fatal: [R1]: FAILED! => {
"msg": "[Errno 8] nodename nor servname provided, or not known"
}
to retry, use: --limit @/Users/breaker/ans/reset.retry
PLAY RECAP *************************************************************************************************************************************************************************************************
R1 : ok=0 changed=0 unreachable=0 failed=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment