Really helped out, i was stuck for almost a week on my project. Kudos👍
@mandeepmails2 жыл бұрын
Awesome walk-through. Very under-rated channel. Appreciated
@ortizs2311 ай бұрын
Awesome tutorial, followed this and working perfectly. Thanks!
@TheSudo11 ай бұрын
Great to hear!
@dmarsell3 жыл бұрын
Thank you very much!
@tom.bailey Жыл бұрын
Thanks dude, this was really helpful.
@angelmanuelcamarero98133 жыл бұрын
Nice, clear and very well explained. Thx
@niccolomachiavelli35422 жыл бұрын
Thank you a lot! This video was really helpful
@markserkiz32723 жыл бұрын
Really cool videos, please keep it going.
@yaroslav-34503 жыл бұрын
Great and very helpful video!
@shankarp47952 жыл бұрын
brilliant!!!
@VânNguyễn-p8l8k7 ай бұрын
you saved meee, thanks a lottttttt
@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?
@mjmurphy543213 жыл бұрын
Very informative thanks!
@blees1232 жыл бұрын
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-xk5gx2 жыл бұрын
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.
@TheSudo2 жыл бұрын
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.
@someguywithabeard58863 жыл бұрын
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?
@TheSudo3 жыл бұрын
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
@someguywithabeard58863 жыл бұрын
@@TheSudo Awesome! Thanks for the quick reply! Also, great video as well :)
@ortizs2311 ай бұрын
@@someguywithabeard5886 Yes, IAM role works well, I have this setup working.
@prashantcruise11 ай бұрын
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 !
@XxmykingdomxX232 жыл бұрын
Can you list multiple aws profiles?
@ortizs2311 ай бұрын
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 Жыл бұрын
What if ssh is blocked and we only allowed to use ssm?