# Ansible-based howto for HPC builders (in progress)

**URL:** <https://forum.ansible.com/t/ansible-based-howto-for-hpc-builders-in-progress/12506>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [March 15, 2013, 2:55am UTC](https://forum.ansible.com/t/ansible-based-howto-for-hpc-builders-in-progress/12506 "2013-03-15T02:55:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [March 15, 2013, 2:55am UTC](https://forum.ansible.com/t/ansible-based-howto-for-hpc-builders-in-progress/12506/1 "2013-03-15T02:55:12Z")

</div>

Interesting!

If I may offer some suggestions, I'd recommend taking a quick look at  
the 'best practices' page and splitting your playbooks and variables  
into different directories, and maybe even just having one vars file  
so it's easier to edit.

I'd also consider having only one play that targets 'all' and then  
using task includes to map roles to host groups, rather than seperate  
playbooks. This means things will install much faster. (or at least  
disable fact gathering with gather\_facts: False on steps that don't  
use facts).

You should also group yum package installs together using "with\_items"  
so packages can be installed all in one transaction, that will be MUCH  
faster as you won't compute dependencies each time and will also have  
less tasks (which is less important)

Regardless, this looks reasonably sophisticated, I'd be very  
interested in hearing about what you are doing with it!

--Michael
