Тёмный

Tutorial: Getting Started with Ansible for Linux Server Configuration Management 

Lawrence Systems
Подписаться 338 тыс.
Просмотров 23 тыс.
50% 1

Amazon Affiliate Store
➡️ www.amazon.com...
Gear we used on Kit (affiliate Links)
➡️ kit.co/lawrenc...
Try ITProTV free of charge and get 30% off!
➡️ go.itpro.tv/lts
Use OfferCode LTSERVICES to get 5% off your order at
➡️ lawrence.video...
Tesla Referral Program Offer
🚘 www.tesla.com/...
Lawrence Systems Shirts and Swag
👕 teespring.com/...
Digital Ocean Offer Code
➡️ m.do.co/c/85de...
HostiFi UniFi Cloud Hosting Service
➡️ hostifi.net/?v...
Protect you privacy with a VPN from Private Internet Access
➡️ www.privateint...
Google Fi Service Referral Code
📱g.co/fi/r/TA02XR
More Of Our Affiliates that help us out and can get you discounts!
➡️ www.lawrencesy...
Twitter
🐦 / tomlawrencetech
Patreon
🔗 / lawrencesystems
Our Forums
🔗 forums.lawrenc...
GitHub
🔗 github.com/law...
Discord
🔗 / discord
Our Web Site
🔗 www.lawrencesy...
PIA Internet Access Affiliates Link
www.privateint...
Tutorial: Getting Started with Ansible for Linux Server Configuration Management
github.com/pgp...
Our Web Site
www.lawrencesy...
Our Forums
forums.lawrenc...
Patreon
/ lawrencesystems
Twitter
/ tomlawrencetech
Affiliate Link for Tube Buddy
www.tubebuddy....
On LinkedIn
/ lawrencesystems

Опубликовано:

 

17 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 65   
@TsunboRecords
@TsunboRecords 6 лет назад
Thanks for this new series! I was just wondering over the week end if you would ever do a serie on Ansible. And here we are :)
@omo-ogun2517
@omo-ogun2517 5 лет назад
I enjoy you guys training. I'm able to understand the breakdown of ansible even though it's a short video. I like how the guy on the left is also new to ansible tool, it give that easy to learn feel of ansible
@MirkWoot
@MirkWoot 5 лет назад
I was about to go crazy and make a rant comment... until..... I learned that I did the wrong commands!. Or, and, some things i didn't think about. Can't be changed now, but it would had been nice to know that no ansible or other would be needed on the other machines :). This is so cool, I didn't really think id learn ansible.. also I had no idea I could simply get it thru my package manager... I always thought of it as a Redhat delux product id not easily get my hands on.
@balluchegu5153
@balluchegu5153 5 лет назад
I love the training format.. Amazing job guys. Keep up tge good work.
@rogerjenson5689
@rogerjenson5689 6 лет назад
I am glad to see that Phil is a System76 user. I am enjoying my Kudu.
@philporada5655
@philporada5655 6 лет назад
It's been great to me so far!
@TheMemcon
@TheMemcon 6 лет назад
Now that I have time I'm watching through these videos. Thank you guys so much!
@davidg4512
@davidg4512 6 лет назад
Thank you. I shall start to use ansible from now on.
@jerrybailie
@jerrybailie 6 лет назад
You got a thumbs up from me for the vim comment ... :)
@LDdrums20
@LDdrums20 6 лет назад
Ansible is so convenient!
@MatthewYakel
@MatthewYakel 6 лет назад
Awesome thanks so much for this. I would love to see how to integrate ansible playbooks from GitHub. And more of what Phil does!! I want a Let’s Encrypt sticker.
@philporada5655
@philporada5655 6 лет назад
Matt Yakel GPG encrypt your address and send it to me. My info should be on keybase or the PGP MIT server.
@tylerharberts
@tylerharberts 6 лет назад
More Phil too! Would love some tips and tricks for dotfiles/vimrc files that you guys use as well.
@philporada5655
@philporada5655 6 лет назад
Thanks a lot friend! We'll be covering that in the next video! Stay tuned.
@geogmz8277
@geogmz8277 3 года назад
So I got exposure to Ansible for the first time through this video 3 years ago. And now this dude sounds to me like a total noob.. Meaning I've learned so much since that this is just too basic for me. So I want to thank you! For getting me started with Ansible ✌🏻I had ZERO knowledge about it when I watched this.
@davidstievenard6313
@davidstievenard6313 6 лет назад
excellent video a suggestion of topic could be ansible vs puppet vs chef : pro and cons
@anuragbisht1200
@anuragbisht1200 6 лет назад
in this "versus" topic please include "saltstack".
@JayChristopherson
@JayChristopherson 6 лет назад
Thumbs up for: ansible -i inventory fleet -m shell -a "apt install -y -qq vim; apt remove -y emacs" Very useful video - THANKS!
@philporada5655
@philporada5655 6 лет назад
You gotta remove something! :P
@fbifido2
@fbifido2 4 года назад
How-to video plans to try/teach: 1. List all servers & application in your business {lets say your xcp-ng lab server is your business datacenter/server-rack} {now create all the servers & workstation with apps & config you run in your business inside this datacenter using : www.ansible.com/ packager.io/ puppet.com/ www.chef.io/ in an automated way, plus keep them up2date} 2. show how you create playbooks for each applications, servers, workstations and configuration from firewall to freenas to invoice to wiki, etc... 3. (this list most likely will not have windows desktop or servers, this is tom we're talking about) so do a simple RDS-SV testlab guide docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831610(v=ws.11)
@TheOnlyEpsilonAlpha
@TheOnlyEpsilonAlpha Год назад
25:15 That uptime thing you put in there, is kinda counter-intuitive: What if I put in the uptime command to get… well, the uptime of the system? To see if it’s rebooted as planned? 🤔
@zouhairy
@zouhairy 6 лет назад
Great video as always.
@lightninguru26
@lightninguru26 6 лет назад
Whaaaat??!! Phil on the Tubes??!!
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 6 лет назад
Yup, first on the Sunday Morning Linux review and now the RU-vids
@ahsan-li7sh
@ahsan-li7sh 6 лет назад
Awesome tutorial . Thanks Tom love the way you teach.
@TechchnologyGuru
@TechchnologyGuru 6 лет назад
Cisco Switch management, config backup and deployment
@heistking
@heistking 6 лет назад
Tom is a good guy, Vim is obviously better.
@philipcook7608
@philipcook7608 6 лет назад
I would like to know how to use this in a mixed Linux environment to update the machines, and do anything else useful. Currently I have Debian, Ubuntu, and CentOS.
@philporada5655
@philporada5655 6 лет назад
Philip Cook that's coming up in the next video. You can see examples in my Ansible roles on GitHub if you'd like to jump the gun.
@heistking
@heistking 6 лет назад
Look in the ansible docs for the when argument.
@bsodmike
@bsodmike 6 лет назад
Brilliant!! Not seen this yet, but if you haven't do cover Ansible Tower. The UI (to me) is terrible but I guess I just need to put some cycles learning it. Vanilla Ansible/playbooks - very easy to pick up though. Thanks Tom!!
@darksidetaino2428
@darksidetaino2428 6 лет назад
the problem with awx/tower that most folks when they started with ansible core is that the process and terms are different. The flow its different.
@bsodmike
@bsodmike 6 лет назад
YEah, it looks like 'jobs' are run as a schedule. UI feels horrible though.
@stanchan
@stanchan 6 лет назад
The great thing with awx/tower is that its pretty much how you would run Ansible on the command line in a UI. The problem with that is the UI feels like how you would run Ansible on the command line! Not really intuitive.
@darksidetaino2428
@darksidetaino2428 6 лет назад
the thing about awx/tower is that is a UI that ties a bunch of things together that if you use ansible core you have to glue it yourself. Also if you got ideas on how to improve it or make it more intuitive you can go to the github page or irc and talk about it!
@bsodmike
@bsodmike 6 лет назад
Thanks all - I've had a play with it in my XenServer and it is making "sense" now. You have "templates" that tie to a playbook and schedule/run jobs off that. Inventory management is quite nice too and hosts can be grouped as needed. I found this to be a useful primer ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ToXoDdUOzj8.html That's neat!!
@mathesonstep
@mathesonstep 6 лет назад
shouldn't you start by configuring it because mine says " No hosts matched, nothing to do"
@hiredevops1621
@hiredevops1621 5 лет назад
excellent video! nice stickers:-)
@aliakbarhemmati31
@aliakbarhemmati31 5 лет назад
Great . Thanks
@RJ-tu3pg
@RJ-tu3pg 6 лет назад
So its basically like Salt.. Nice video :D
@philporada5655
@philporada5655 6 лет назад
Mr. Meekses Sort of. Traditional Salt communicates over an encrypted ZeroMQ channel and the master publishes events that the minions listen for to run their configurations. Salt-SSH is more like Ansible. They're both Python projects and use yaml though! Thanks!
@BizarreMarketing
@BizarreMarketing 6 лет назад
How much to buy sticker space on the back of your laptops?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 6 лет назад
+Bizarre Marketing that's a good question I should sell ad space in the back of my laptop
@philipcook7608
@philipcook7608 6 лет назад
You were talking about secondary revenue sources of RU-vid in one of your other videos. That would be one that is fairly obvious but not overly intrusive.
@kristopherleslie8343
@kristopherleslie8343 4 года назад
Tom whats the chance you guys will do a 2020 version of this cause i'm playing with a few new servers and have coffeeeeeeeeeeee.
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 4 года назад
It still works in 2020
@kristopherleslie8343
@kristopherleslie8343 4 года назад
Awesome ok. Been labbing all weekend so may get some time to spin it up! Thanks Tom.
@lilbit-fc5le
@lilbit-fc5le 6 лет назад
copy PASTA'd! Good vid.
@ashishrajput97
@ashishrajput97 5 лет назад
Any idea about this error. 10.0.3.112 | UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host 10.0.3.112 port 22: No route to host ", "unreachable": true }
@kampfighterjet8662
@kampfighterjet8662 6 лет назад
You have to type your passphrase every time except you use some ssh agent software
@philporada5655
@philporada5655 6 лет назад
This is because we didn't put ssh keys on the target VMs and instead chose to just do password based auth. When using ansible with ssh keys, I prefer to not use passwords.
@kampfighterjet8662
@kampfighterjet8662 6 лет назад
Every "access" to an ssh-keypair requires your passphrase, for sure you can create an keypair without one, which makes no sense from my point of view. An ssh-agent can avoid using your passphrase for the "current session" if you use one...
@JivanPal
@JivanPal 3 года назад
@@kampfighterjet8662, your agent can also consult a local keyring that is only unlocked when you are logged in to your local machine. With OpenSSH, it's as simple as adding `UseKeychain yes` to your config on most systems.
@gspiceland
@gspiceland 2 года назад
Really should not do a demo and a few minutes in go "Don't do this the way we did it" in regards to SSH keys. Otherwise, great format and good info.
@MirkWoot
@MirkWoot 5 лет назад
after my positive comment, id say.... those yml files are very confusing, and the specialized vim doesn't help so much.
@thingyee1118
@thingyee1118 6 лет назад
Why not puppet I wonder
@philporada5655
@philporada5655 6 лет назад
Puppet was the first "true" CM system I learned after scripting. I didn't grok CM until Saltstack and didn't truly get comfortable with systems automation until I found Ansible.
@stanchan
@stanchan 6 лет назад
I've been doing Puppet, Chef, Saltstack and Ansible for 12 years now (in that order) and Ansible is probably the easiest for a beginner to learn and get productive on.
@philporada5655
@philporada5655 6 лет назад
That sounds like a fantastic thing to talk about in a video Stan!
@RingZero
@RingZero 6 лет назад
Stop clearing the damn screen, it’s annoying
@philporada5655
@philporada5655 6 лет назад
Oil_Burner Never. My mom taught me to clean up after myself. :P
Далее
Mini bag sealer
00:58
Просмотров 6 млн
Manage Windows like Linux with Ansible
41:39
Просмотров 102 тыс.
Firewall IDS Explained: What Threats Can It Stop?
10:36
Introduction to Ansible - Webinar
1:02:07
Просмотров 87 тыс.
Linux New User Guide: 10 Things I Wish I Knew
23:31
Просмотров 459 тыс.
This web UI for Ansible is so damn useful!
20:07
Просмотров 479 тыс.
Managing 15,000 network devices with Ansible
35:55
Просмотров 45 тыс.