Are roles analogous to modules/cookbooks in Puppet/Chef?

39 views
Skip to first unread message

Joaquin Menchaca

unread,
Jul 8, 2015, 12:39:21 PM7/8/15
to ansible...@googlegroups.com
I was wondering how to organize configuration code into segments, such as nginx, mysql, redis, java, and so on.  In Puppet they have modules, and Chef there are cookbooks with recipees.  Some of the code I looked at, it seems like roles fulfills this function, or are there other way that is recommended for this?

 - Joaquin

Mark Phillips

unread,
Jul 8, 2015, 12:49:40 PM7/8/15
to ansible...@googlegroups.com
Hello Joaquin,

Yep, you're on the right track there. This might help you...

Joaquin Menchaca

unread,
Jul 10, 2015, 12:00:29 AM7/10/15
to ansible...@googlegroups.com
Thank you Mark.  This is exactly what I needed.  I have been hunting with Google for a long time for a site like this. :)
Reply all
Reply to author
Forward
0 new messages