Example setup playbooks for RHEL / CentOS for leaning

49 views
Skip to first unread message

Stuart Budd

unread,
Jan 29, 2015, 6:37:52 PM1/29/15
to ansible...@googlegroups.com
Does anyone have a good example set of playbooks that I can use for leaning purposes that does the basis setup of a couple of servers.

I am looking for something basic that does:

sudo to root
SSH key copy

Install a few packages

Plus any other useful examples.
I have found a few useful examples on GitHub but they are for Ubuntu (example below).

This is one:

Git:                       https://github.com/tomoconnor/parallax.git )
Documentation:     http://tomoconnor.eu/blogish/getting-started-ansible/#.VMrD0y4oL3R

However I am getting a bit lost changing the Ubuntu references to RHEL and I don't think that it is helping the leaning Ansible part.

I am looking for the sort of setup that is commonly used prior to more specific configuration.

Many thanks










Mark McCoy

unread,
Jan 29, 2015, 6:51:00 PM1/29/15
to ansible-project
Here's an example of how we do things at my organization:

--
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-proje...@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/d1d8c12e-f5eb-4444-b6f2-b6a70137e4ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stuart Budd

unread,
Jan 29, 2015, 7:17:37 PM1/29/15
to ansible...@googlegroups.com
Thank you

Giovanni Tirloni

unread,
Feb 2, 2015, 6:52:22 AM2/2/15
to ansible...@googlegroups.com
On Thu, 29 Jan 2015 15:37 -0800, Stuart Budd <s2b...@gmail.com> wrote:
> Does anyone have a good example set of playbooks that I can use for
> leaning
> purposes that does the basis setup of a couple of servers.

Fedora Project playbooks:
https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/

If you want to go crazy:
https://github.com/search?q=ansible+centos+extension%3Ayml

Giovanni
Reply all
Reply to author
Forward
0 new messages