Discussion:
[ansible-project] Are roles analogous to modules/cookbooks in Puppet/Chef?
Joaquin Menchaca
2015-07-08 16:39:20 UTC
Permalink
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
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e84deeeb-9354-4532-aa42-05186d1a9f06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mark Phillips
2015-07-08 16:49:40 UTC
Permalink
Hello Joaquin,

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

http://probably.co.uk/ansible-for-puppet-users.html
Post by Joaquin Menchaca
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
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b7a2d548-9f44-4d4a-8d0a-70c8038a8d7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Joaquin Menchaca
2015-07-10 04:00:29 UTC
Permalink
Thank you Mark. This is exactly what I needed. I have been hunting with
Google for a long time for a site like this. :)
Post by Mark Phillips
Hello Joaquin,
Yep, you're on the right track there. This might help you...
http://probably.co.uk/ansible-for-puppet-users.html
Post by Joaquin Menchaca
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
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/bb11e48e-f67a-4b1b-8a19-2272d0c309cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...