ANSIBLE DYNAMIC INVENTORY AWS EC2 - HOW TO WALKTHROUGH

  Рет қаралды 6,750

The_Sudo

The_Sudo

Күн бұрын

Пікірлер: 26
@kaokakelvin6202
@kaokakelvin6202 2 жыл бұрын
Really helped out, i was stuck for almost a week on my project. Kudos👍
@mandeepmails
@mandeepmails 2 жыл бұрын
Awesome walk-through. Very under-rated channel. Appreciated
@ortizs23
@ortizs23 11 ай бұрын
Awesome tutorial, followed this and working perfectly. Thanks!
@TheSudo
@TheSudo 11 ай бұрын
Great to hear!
@dmarsell
@dmarsell 3 жыл бұрын
Thank you very much!
@tom.bailey
@tom.bailey Жыл бұрын
Thanks dude, this was really helpful.
@angelmanuelcamarero9813
@angelmanuelcamarero9813 3 жыл бұрын
Nice, clear and very well explained. Thx
@niccolomachiavelli3542
@niccolomachiavelli3542 2 жыл бұрын
Thank you a lot! This video was really helpful
@markserkiz3272
@markserkiz3272 3 жыл бұрын
Really cool videos, please keep it going.
@yaroslav-3450
@yaroslav-3450 3 жыл бұрын
Great and very helpful video!
@shankarp4795
@shankarp4795 2 жыл бұрын
brilliant!!!
@VânNguyễn-p8l8k
@VânNguyễn-p8l8k 7 ай бұрын
you saved meee, thanks a lottttttt
@gkaruk
@gkaruk Жыл бұрын
Great content and explained some of the missing aws_ec2 collection how to. One area we have been struggling with today is how to add a static variable such as "ansible_env" like we have in our static inventories. We cant seem to get it to working by using static.yml with that variable and then access the variable in a playbook? Do you have any pointers or come across this use case?
@mjmurphy54321
@mjmurphy54321 3 жыл бұрын
Very informative thanks!
@blees123
@blees123 2 жыл бұрын
great content. It's really neat the ability to combine static and dynamic inventory. With these two being mixed, I am wondering if there is a possibility to provision those servers using this method, although I see that you used Terraform to provision, it would be great to make use of dynamic inventory to provision a server. if (server not exist) then create else update.
@AJ-xk5gx
@AJ-xk5gx 2 жыл бұрын
Lovely explanation. Is there a way to set the usernames in the inventory file itself so that you can run the ping module as an ad-hoc command? Sort of the same way you could specify in a static inventory.
@TheSudo
@TheSudo 2 жыл бұрын
Yes you can combine a static and dynamic inventory file such as the way I do at the towards of the video. This will allow you to specify variables in the static inventory file.
@someguywithabeard5886
@someguywithabeard5886 3 жыл бұрын
Are you able to use an IAM role within the console to allow access to Ansible to create the dynamic inventory? If so, what bare minimum permissions/profile would someone need to apply to the Ansible Node instance to allow this?
@TheSudo
@TheSudo 3 жыл бұрын
Yes you can define a profile with the AWS cli using the IAM role ARN docs.aws.amazon.com/cli/latest/userguide/cli-configure-role.html and give it ec2 describe permissions
@someguywithabeard5886
@someguywithabeard5886 3 жыл бұрын
@@TheSudo Awesome! Thanks for the quick reply! Also, great video as well :)
@ortizs23
@ortizs23 11 ай бұрын
@@someguywithabeard5886 Yes, IAM role works well, I have this setup working.
@prashantcruise
@prashantcruise 11 ай бұрын
I have tried but I have few doubts like what if I want to run the PlayBook from GitHub action do and make those tags added via -extra-vars=tag:env=test !! Can we do that with this plugin or do I need to create a python script !
@XxmykingdomxX23
@XxmykingdomxX23 2 жыл бұрын
Can you list multiple aws profiles?
@ortizs23
@ortizs23 11 ай бұрын
On my AAP server in the aws config, i have multiple aws profiles, instead of hardcoding the profile in aws_ec2 playbook you can make it a variable and then pass the profile during run. I do this for a lot especially when devs are calling ansible API's so, something like aws_profile: "{{ profile }}". hope this helps
@GerryChoco
@GerryChoco Жыл бұрын
What if ssh is blocked and we only allowed to use ssm?
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Terraform Ansible Integration | Terraform Ansible AWS Example
8:36
Connect to EC2 with Session Manager and EC2 Instance Connect
20:15
Digital Cloud Training
Рет қаралды 8 М.
Working with Ansible Dynamic Inventory
24:03
VRTechnologies For Automation
Рет қаралды 27 М.
Dynamic Inventories in Ansible with Python #ansible #python #trending
16:33
technotes of Hemant
Рет қаралды 2,3 М.
Ansible Advanced Template Loops Tutorial - Use Loop Vars in Your Templates
7:49
Percy Grunwald from TopTechSkills
Рет қаралды 27 М.
Ansible Tutorial to manage dynamic EC2 instances in AWS
15:11
DevOps For Developers
Рет қаралды 4,9 М.
Ansible Best Practices  Roles and Modules
1:04:24
Red Hat Ansible Automation
Рет қаралды 23 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН