# Ansible playbook freezes at getting output with communicate()

**URL:** <https://forum.ansible.com/t/ansible-playbook-freezes-at-getting-output-with-communicate/22365>\
**Category:** Ansible Project\
**Created:** [August 24, 2016, 7:37am UTC](https://forum.ansible.com/t/ansible-playbook-freezes-at-getting-output-with-communicate/22365 "2016-08-24T07:37:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmed1](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@Ahmed1](https://forum.ansible.com/u/Ahmed1)\
**Post date:** [August 24, 2016, 7:37am UTC](https://forum.ansible.com/t/ansible-playbook-freezes-at-getting-output-with-communicate/22365/1 "2016-08-24T07:37:14Z")

</div>

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:**

```auto
---
- 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

```
