Hey Everyone,
I am running ansible version 1.8.4.
Running the same task on multiple Hosts list -
---
- hosts: all
gather_facts: no
tasks:
- name: Stopping OSSEC
service:
name: ossec-hids
state: stopped
- hosts: all
gather_facts: no
tasks:
- name: Deleteing File
shell: rm -f /var/ossec/queue/rids/*
From time to time the first task hangs on the last server in the Host list (the host list is dynamic and is being generated by a different Playbook) and does not continue to the next task.
Is there a way to debug this?
Why does it hangs from time to time?