Speeding up ansible playbooks or running many ansible playbooks in parallel

From Notes_Wiki
Revision as of 13:03, 5 February 2016 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Ansible_tips_and_tricks|Ansible tips and tricks</yambe:breadcrumb> =Speeding up ansible playbooks or running many ansible playbooks in parallel= To speed up...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>Ansible_tips_and_tricks|Ansible tips and tricks</yambe:breadcrumb>

Speeding up ansible playbooks or running many ansible playbooks in parallel

To speed up ansible playbook module named firewall was introduced a while back. Information about fireball is available at http://jpmens.net/2012/10/01/dramatically-speeding-up-ansible-runs/ However as per https://github.com/ansible/ansible/issues/10599 it was recommended to use ansible acceleration feature instead of using fireball from ansible 1.3 onwards. Further as per http://docs.ansible.com/ansible/playbooks_acceleration.html ansible 1.5 onwards there is no need to use acceleration feature. Ansible 2.0 has introduced strategy defined at http://docs.ansible.com/ansible/playbooks_strategies.html but ansible 2.0 is not available as a package in latest updated CentOS 6.x at time of this writing. Thus, other ways of speeding up ansible playbooks are discussed here.