Where do you run Ansible from for managing an EC2 cluster?

64 views
Skip to first unread message

Gary Malouf

unread,
Dec 31, 2014, 10:04:12 PM12/31/14
to ansible...@googlegroups.com
In the past, we ran Ansible on our bastion aka jump host.  I've seen many postings online that people actually install Ansible locally and manage it completely from there.  What are the pros and cons of going with that setup over having Ansible installed on an instance?

Brent Langston

unread,
Dec 31, 2014, 10:25:32 PM12/31/14
to ansible...@googlegroups.com

We, at hioscar.com, run ansible local from the local goat for all config runs from cron, every 10 minutes.

Pros:
It's fast
It's automatic, so devs don't need direct access to our systems.

Con:
It isn't aware of the whole inventory, mainly due to our setup. This ends up complicating things when you build logic around inventory knowledge of other systems. An example is setting quorum size based on number of nodes in the inventory.

Overall it's been a cool setup. If the con is a show stopper, then check out ansible tower.

On Dec 31, 2014 10:04 PM, "Gary Malouf" <malou...@gmail.com> wrote:
In the past, we ran Ansible on our bastion aka jump host.  I've seen many postings online that people actually install Ansible locally and manage it completely from there.  What are the pros and cons of going with that setup over having Ansible installed on an instance?

--
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/6e854963-cd83-4d0f-9c47-36a24921b847%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Brent Langston

unread,
Dec 31, 2014, 10:26:40 PM12/31/14
to ansible...@googlegroups.com

And by "goat", I mean host. :-)

Gary Malouf

unread,
Jan 1, 2015, 12:56:02 AM1/1/15
to ansible...@googlegroups.com
Interesting, you are deploying ansible in on each of your production servers and running it in local mode.  I've done that for experimentation, but did not consider doing it at scale.

To avoid confusion - by local I was asking if people are running playbooks from their personal machine rather than the actual host where software is deployed.

Brent Langston

unread,
Jan 1, 2015, 1:40:40 PM1/1/15
to ansible...@googlegroups.com
for non config type stuff, we run from local notebooks, or an admin host (triggered by our chatbot), depending on what is happening, and who is triggering it.

--------
Brent
--------

Reply all
Reply to author
Forward
0 new messages