i am using celery to run ansible-playbook , my env
Python 2.7.5
celery==4.0.1
ansible 2.2.0.0
redhat7.0
i use celery to run playbook to change passwd, the playbook task will stuck from time to time, when i kill the celery worker, then the task continues to run . i cant find any error msg in celery log file;
the only thing i can find is that the problem relates to the number of hosts in inventory,
50 hosts may be ok, 100 hosts definitely get this problem;
anyone happened to this? the problem really frustrated me ;
I suggest checking your system logs to see if you are ok for resources / forks / open files etc.
What are you setting forks to (probably in your ansible.cfg if not specifed on the ansible-playbook command line? You might be asking a lot of your celery / ansible controller machine.