Skip to content

Instantly share code, notes, and snippets.

@privateip
Created February 28, 2017 15:24
Show Gist options
  • Save privateip/1f96dfa7cd91d61d92d902d1b8feb153 to your computer and use it in GitHub Desktop.
Save privateip/1f96dfa7cd91d61d92d902d1b8feb153 to your computer and use it in GitHub Desktop.
(ansible) [ansible-ios]$ grep ansible.log -e "^<"
<ios01> using connection network_cli
<ios01> ESTABLISH CONNECTION FOR USER: ansible on PORT 22 TO ios01
<ios01> Authentication failed.
<ios01> using connection network_cli
<ios01> ESTABLISH CONNECTION FOR USER: ansible on PORT 22 TO ios01
<ios01> shutting down control socket, connection was active for 0:00:59.872472 secs
<ios01> closing connection
<ios01> using connection network_cli
<ios01> ESTABLISH CONNECTION FOR USER: ansible on PORT 22 TO ios01
<ios01> shutting down control socket, connection was active for 0:00:31.828694 secs
<ios01> closing connection
<ios01> using connection network_cli
<ios01> ESTABLISH CONNECTION FOR USER: ansible on PORT 22 TO ios01
<ios01> shutting down control socket, connection was active for 0:00:31.833370 secs
<ios01> closing connection
<ios01> using connection network_cli
<ios01> ESTABLISH CONNECTION FOR USER: ansible on PORT 22 TO ios01
<ios01> shutting down control socket, connection was active for 0:00:31.899471 secs
<ios01> closing connection
<ios01> using connection network_cli
<ios01> ESTABLISH CONNECTION FOR USER: ansible on PORT 22 TO ios01
<ios01> shutting down control socket, connection was active for 0:00:43.644058 secs
<ios01> closing connection
<ios01> starting new persistent socket with path /home/sprygada/.ansible/pc/e2219bf102
<ios01> using connection plugin network_cli
<ios01> ESTABLISH CONNECTION FOR USER: cisco on PORT 22 TO ios01
<ios01> ssh connection done, setting terminal
<ios01> ssh connection has completed successfully
<ios01> incoming request accepted on persistent socket
<ios01> received data on socket with len 1530
<ios01> socket operation is CONTEXT
<ios01> updating play_context for connection
<ios01> received data on socket with len 18
<ios01> socket operation is EXEC
<ios01> attempting to open shell to device
<ios01> shell successfully opened
<ios01> socket operation completed with rc 0
<ios01> incoming request accepted on persistent socket
<ios01> received data on socket with len 124
<ios01> socket operation is EXEC
<ios01> socket operation completed with rc 1
<ios01> closing shell due to sigalarm
<ios01> closing shell on device
<ios01> shutting down control socket, connection was active for 0:00:32.031381 secs
<ios01> closing connection
<ios01> closing shell on device
<ios01> starting new persistent socket with path /home/sprygada/.ansible/pc/e2219bf102
<ios01> using connection plugin network_cli
<ios01> ESTABLISH CONNECTION FOR USER: cisco on PORT 22 TO ios01
<ios01> ssh connection done, setting terminal
<ios01> ssh connection has completed successfully
<ios01> incoming request accepted on persistent socket
<ios01> received data on socket with len 1530
<ios01> socket operation is CONTEXT
<ios01> updating play_context for connection
<ios01> received data on socket with len 18
<ios01> socket operation is EXEC
<ios01> attempting to open shell to device
<ios01> shell successfully opened
<ios01> socket operation completed with rc 0
<ios01> incoming request accepted on persistent socket
<ios01> received data on socket with len 124
<ios01> socket operation is EXEC
<ios01> socket operation completed with rc 0
<ios01> closing shell due to sigalarm
<ios01> closing shell on device
<ios01> shutting down control socket, connection was active for 0:00:32.173726 secs
<ios01> closing connection
<ios01> closing shell on device
<ios01> starting new persistent socket with path /home/sprygada/.ansible/pc/e2219bf102
<ios01> using connection plugin network_cli
<ios01> ESTABLISH CONNECTION FOR USER: cisco on PORT 22 TO ios01
<ios01> ssh connection done, setting terminal
<ios01> ssh connection has completed successfully
<ios01> incoming request accepted on persistent socket
<ios01> received data on socket with len 1530
<ios01> socket operation is CONTEXT
<ios01> updating play_context for connection
<ios01> received data on socket with len 18
<ios01> socket operation is EXEC
<ios01> attempting to open shell to device
<ios01> shell successfully opened
<ios01> socket operation completed with rc 0
<ios01> incoming request accepted on persistent socket
<ios01> received data on socket with len 124
<ios01> socket operation is EXEC
<ios01> socket operation completed with rc 0
<ios01> closing shell due to sigalarm
<ios01> closing shell on device
<ios01> shutting down control socket, connection was active for 0:11:58.374081 secs
<ios01> closing connection
<ios01> closing shell on device
<ios01> starting new persistent socket with path /home/sprygada/.ansible/pc/e2219bf102
<ios01> using connection plugin network_cli
<ios01> ESTABLISH CONNECTION FOR USER: cisco on PORT 22 TO ios01
<ios01> timed out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment