Ansible playbook freezes at getting output with communicate()

24 views
Skip to first unread message

Ahmed

unread,
Aug 24, 2016, 10:17:30 AM8/24/16
to Ansible Project

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
Reply all
Reply to author
Forward
0 new messages