Ansible 101 - Episode 11 - Dynamic Inventory and Smart Inventories

preview_player
Показать описание
Jeff Geerling (geerlingguy) demonstrates dynamic inventory, building inventory from dynamic sources like custom backends or cloud infrastructure systems like AWS EC2.

Contents:

00:00:00 - Start
00:00:22 - Intro
00:09:00 - What broke last episode?
00:11:24 - Questions from last episode
00:20:00 - Inventory group_vars and host_vars
00:24:32 - Building dynamic inventory in PHP
00:26:47 - Use ansible-inventory CLI
00:33:44 - Python dynamic inventory example
00:38:30 - Using inventory plugins
00:41:04 - AWS inventory plugin demo
00:48:32 - Dynamic inventory in Ansible Tower
00:55:20 - More advanced inventory examples
00:58:58 - Answering live chat questions
01:02:06 - Outtro
Рекомендации по теме
Комментарии
Автор

its really a gratefull know you have a youtube channel, i think only see us in github :D

olivergarcia
Автор

Hi Jeff,
Your videos are very helpful in my learning path of Ansible.
Thank you very much.

AbhishekVershney
Автор

Did i just see a video without a dislike!, that speaks a lot about the content! Amazing Jeff and thanks for your book.

VivekSamaga
Автор

hello, excellent stream and thank-you Jeff !!!

julienbietlot
Автор

It's amazing watching your reaction to approaching and then reaching 25k subs when I look now and see that you are approaching 200k subs now.

fatrobin
Автор

Hello Jeff, I had been tripped up on permissions of my Python script within Tower and your hint around the 30 minute marker helped me get past my four hour headache. Thank you

CalvinRemsburg
Автор

"You can watch it in slow motion... but that would be a little weird!", LOL, indeed! 🤣🤣🤣

TVfen
Автор

Jeff - Great video it helped me a great deal as I'm working with projects in Google was trying to determine the best way to handle dynamic inventory since we want to automate the whole stack.

frankiegravato
Автор

jeef.
let me tell you, its a pleasure just listening to you.

irfan
Автор

I've really enjoyed your series on Ansible (as well as your Raspberry Pi ditto). It's great to learn from a knowledgeable person. Better yet, a knowledgeable person with a sense of humor who is not a typing superhero 😉.
I've just started using Ansible to manage my Raspberry Pi "data center" and I'd like to hear your suggestions on setting up a Pi using Ansible. Also, your opinion on what should go into roles and what should go into tasks that are included in one or more roles.

bdollerup
Автор

You mentioned being possible family of Geerlings. They also live more north in the Netherlands in the Enschede area. My freshman year mentor in Computer Science at University of Twente was a Jan Geerlings. He used to live in Hengelo.

hcjkruse
Автор

Pleeease do another series like this but focused on your Kubernetes work

account-pending-deletion
Автор

Hi Jeff,
Thanks for the awesome video on AWX.

I have one query on the version I have that "Region field is missing in ansible AWX version 19.5.0"
The "instance filter" is replaced with "host filter".
Please suggest how can I bring the Region field or any workaround.

rahulagalcha
Автор

Hi Jeff! I am running a project and would like to know more about how to use dynamic inventory across multiple accounts? Your contribution will help me to present a good POC on why we should switch to Ansible Dynamic inventory. Thank you very much!

talantbekburkanov
Автор

Is there a built in Ansible task to generate an inventory or do I always need to use an external script?

EhrlicherEdukator
Автор

I wonder if there are any pros/cons of using inventory files in YAML versus psuedo-ini format. I was thinking of using YAML just be consistent (not that I love YAML) but would love some wisdom which I can not provide to myself.

yankee-in-london
Автор

Hey Jeff. Thanks a lot for the videos. I have couple of questions about dynamic inventory plugins.
1. Was the value of boto_profile your root aws account's username or just an regular IAM user?
2. How can i set up key file in my aws_ec2.yml file not to receive Permission denied errors.

tigrangevorgyan
Автор

@Jeff Geerling, Great Series I bought your book, however its been a full year and (Bought on 12/2/2020) When are you going to update/finish(last updated on 9/1/2020) it?

MightYoungJoe
Автор

i want to rotate my ssh keys using ansible pls help me with playbook

ninaddivekar
Автор

let your hair grow... while you can. Your hair is nice.

carlric