Ansible design patterns

365 views
Skip to first unread message

Praveen A

unread,
Nov 5, 2015, 7:30:12 PM11/5/15
to Ansible Project
Hello chaps,

Is there any design pattern present in ansible to have a proper structure and flow like hiera in puppet.

Thanks,
Praveen

Jeff

unread,
Nov 11, 2015, 7:04:57 AM11/11/15
to Ansible Project
I'm an Ansible newbie (and investigating moving away from Puppet) - so I cant give great Ansible advice.
I think Hiera is well designed - and so far the Ansible model looks simpler to me (that's a good thing!)

I can point you to articles I found helpful:


These discuss the hierarchy (ala Hiera), of variable and task determination and give advice on how to organise the manifests.

They were enough to get going for me, in test migrating our 60 odd server setup into Ansible.

Have to say that I prefer the simpler Ansible structure which seems focused on environment/role/purpose over the class directory structure mandated by Puppet.

Just my 2^1 cents.


Reply all
Reply to author
Forward
0 new messages