I’m using Ansible to auto configure a device that has an OS similar to Cisco IOS, the below playbook works fine but every 4 or 5 times I run it, it freezes, I’m setting ANSIBLE_DEBUG=1, when it freezes, it does at the following line:
3723 1472024022.64431: getting output with communicate()
Playbook:
---
- hosts: 10.10.10.1
connection: local
gather_facts: False
no_log: True
tasks:
- name: test
ignore_errors: True
ios_command:
provider:
host: 10.10.10.1
username: wasp
password: wasp
auth_pass: wasp
authorize: yes
commands:
- show clock