LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-09-2017, 05:02 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,419

Rep: Reputation: 55
Anyone here use ansible? And if so what for?


Anyone here use ansible? And if so what are some of this things you use it for? As far as DevOps/server management.
 
Old 10-09-2017, 06:38 PM   #2
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora & Arch mostly.
Posts: 2,548

Rep: Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693
Managing AWS instances mostly.
 
1 members found this post helpful.
Old 10-09-2017, 07:12 PM   #3
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,419

Original Poster
Rep: Reputation: 55
I came across it in the AWS System Manager services.

What kinds of things do you use it for in AWS?
 
Old 10-09-2017, 10:46 PM   #4
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora & Arch mostly.
Posts: 2,548

Rep: Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693
Creating/removing EC2 instances. I use it at work, we use a "gold" AWS image for our servers, and use ansible scripts to copy said gold image and configure to stand it up. This way we never have to worry about patching individual servers. We just patch the gold image, then use the scripts to delete all existing servers and recreate from the gold image (note, our servers simply host a SaaS model for our clients, so there's no data that's needed other than a few configs that the Ansible scripts pull from S3 buckets, and databases that are RDS instances).
 
1 members found this post helpful.
Old 10-10-2017, 03:27 AM   #5
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,419

Original Poster
Rep: Reputation: 55
Sounds cool!!

Did you have to create any custom ansible modules for that to work?

Is everything in ansible done in yaml or can something like python be used too?
 
Old 10-10-2017, 03:28 AM   #6
iodisciple
LQ Newbie
 
Registered: Sep 2017
Posts: 9

Rep: Reputation: Disabled
I'm no expert but I think it does way more than that. It defines a system state and enforces it on your running servers. It can do change management, provisioning, automation and orchestration. It works with yaml files / plays / playbooks which are machine and human readable and easy to understand, no real programming skills required. I did a beginner hands on course on Pluralsight that got me pretty exited, will be diving deeper soon.
 
1 members found this post helpful.
Old 10-10-2017, 03:34 AM   #7
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,419

Original Poster
Rep: Reputation: 55
Sweet!

This one? https://www.pluralsight.com/courses/hands-on-ansible
 
Old 10-10-2017, 03:44 AM   #8
iodisciple
LQ Newbie
 
Registered: Sep 2017
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by abefroman View Post
Yes that's the one!
 
Old 10-10-2017, 09:15 AM   #9
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora & Arch mostly.
Posts: 2,548

Rep: Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693
Quote:
Originally Posted by iodisciple View Post
I'm no expert but I think it does way more than that. It defines a system state and enforces it on your running servers. It can do change management, provisioning, automation and orchestration. It works with yaml files / plays / playbooks which are machine and human readable and easy to understand, no real programming skills required. I did a beginner hands on course on Pluralsight that got me pretty exited, will be diving deeper soon.
Oh yes, it CAN do WAY more than we use it for. We use only a VERY small portion of it's capabilities.
 
Old 10-10-2017, 09:19 AM   #10
iodisciple
LQ Newbie
 
Registered: Sep 2017
Posts: 9

Rep: Reputation: Disabled
I also think that the real automation power comes with Ansible Tower, which is the commercial product and not very cheap
 
Old 10-17-2017, 03:28 PM   #11
bgstack15
LQ Newbie
 
Registered: Jul 2017
Distribution: korora
Posts: 5

Rep: Reputation: Disabled
Red Hat just "made" an upstream to Ansible Tower and called it AWX. So you can either look through the docs/community for some binary builds of it, or compile it yourself.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ansible 2.4 available now in Fedora LXer Syndicated Linux News 0 10-02-2017 11:33 AM
LXer: Getting started with Ansible LXer Syndicated Linux News 0 02-25-2017 04:54 PM
Using passwords in ansible playbook pgb205 Linux - Server 1 12-27-2016 01:20 AM
ansible will not execute whole playbook DimTheo Linux - Server 1 11-24-2016 12:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration