How to write your first Ansible playbook | Write Simple Ansible Playbook | Learn Ansible Basics
DevOps Online Training Registration form: bit.ly/valaxy-form
For Online training, connect us on WhatsApp at +91-9642858583
============ Online Trainings =========
Online Trainings:
DevOps Practitioner Training ► bit.ly/ValaxySMD
DevOps Internship Training ► bit.ly/ValaxyRPT
Interview Preparation Sessions ► bit.ly/ValaxyDIP
Azure DevSecOps Training ► bit.ly/ValaxyADP
CyberSecurity Training ► bit.ly/ValaxyCST
Mean Stack Web Development ► bit.ly/ValaxyMSWD
Python Complete Course ► bit.ly/ValaxyPC
Data Science Training ► bit.ly/ValaxyDSP
Linux Shell Scripting ► bit.ly/ValaxyLSS
Real-time DevOps Project ► bit.ly/ValaxyDRP
Azure Admin Training ► bit.ly/ValaxyAA
============ Udemy Courses =========
AR Shankar Udemy Courses ► bit.ly/udemyshankar
DevOps Workshop-2 ► bit.ly/udemydevopsws
DevOps Project-1 ► bit.ly/udemydevops
Kubernetes microservices ► bit.ly/udemykube
Linux for DevOps ► bit.ly/udemyvinux
Git for DevOps ► bit.ly/udemygithub
Ansible for DevOps Beginners ► bit.ly/udemyansible
Maven for DevOps ► bit.ly/udemymaven
============ Our Other Courses =========
Packages:
Valaxy Ultimate Plan ► bit.ly/ValaxyUP
DevOps AWS and Python ► bit.ly/ValaxyDAP
DevOps AWS and Shell Scripting ► bit.ly/ValaxyDAS
AWS Pack ► bit.ly/ValaxyAP
Other Courses:
DevOps Course ► bit.ly/ValaxyDCC
Azure Administration ► bit.ly/ValaxyAAD
Production Ready Project ► bit.ly/ValaxyPRP
Kubernetes Project ► bit.ly/ValaxyKP
AWS (Amazon Web Services) ► bit.ly/ValaxyAWS
Python Complete Course ► bit.ly/ValaxyPCC
Shell Scripting ► bit.ly/ValaxySS
AWS automation with Boto3 ► bit.ly/ValaxyAWSPythonBoto3
Docker & Kubernetes ► bit.ly/ValaxyDK
Ansible for the DevOps ► bit.ly/ValaxyAD
DevOps Diploma Program ► bit.ly/ValaxyDDP
Valaxy PPTs ► bit.ly/ValaxyPPT
============ Free resources =========
DevOps Resumes ► bit.ly/ValaxyDR
Azure DevOps Resumes ► bit.ly/ValaxyADPR
Tools to learn in DevOps ► • Which DevOps tools sho...
============ Connect with Us =========
Facebook ► bit.ly/devopsgang
Instagram ► bit.ly/valaxyinsta
LinkedIn ► bit.ly/valaxyln
Website ► www.valaxy.in/
► courses.valaxy.in/ ============ Connect with Us =========
Facebook ► bit.ly/ValaxyFB
Instagram ► bit.ly/valaxyinsta
LinkedIn ► bit.ly/valaxyln
Website ► www.valaxy.in/
► courses.valaxy.in/
#Devops #Valaxy #AWS
Indian guy on KZhead comes in clutch as usual, explained this better than my lecturer.
Thanks @LionFeldman, Glad that it helped.
my gratitude for this wonderful illustration on ansible-playbook. you folks make life much easier for everyone by your teaching. much appreciated for your head work sharing your knowledge. Thanks again !!!. Mat.
Thanks for the work you have put. I was learning ansible from different sources but couldnt write the playbook confidently. You've explained well and I was able to download my http packages ;)
That's a really great tutorial sir. Helped me to understand the core logic and working of ansible
Great video. This is the best explanation for beginners I've seen. The one part I am still a little confused on is the sudo password. I would prefer to see how one can use the Ansible Vault feature to authenticate vs adding the user to sudoers. Also I am curious how one can use this to do simple changes on a cisco router or other router. How to pass a different user name and do the cisco 'enable' command and so forth.
The way you are explaining is really outstanding. From one corner of India, I am blessing you and wishing you all the best.just keep it up.
Thank you Sir...CONCEPTS EXPLAINED NICELY!!!
This is literally the best explanation. I subscribed to your channel just a few minutes of listening to your explanation. Thank you 🙏🏾
God Bless you, SIR. We All Appreciate your Help.
Thank you so much!!..could understand easily!!..God bless you!
Thank you so much for the explanation. Can you please integrate Rundeck and Ansible to perform operations on the target server, so that we can perform our tasks using GUI. So that we can also learn new things and which will be easy for the non-Ansible learners to perform tasks. Looking forward to the video I suggested, Thanks in advance for the video.
Most helpful to clear the base knowledge.............really awesome .
Thanks for the tutorial, I liked the way you are explaining.
Your voice is so humble. Really i would love to join your classes. But i have already joined. But, in future i will definitely definitely connect with your offline classes.
This is so helpful. Thank you :)
Hi Sir, I have started learning DevOps recently. There were many videos where i couldn't find proper learning, then i found your videos which are excellent that none of the trainers are providing the explanation like how you do.I have referred your channel to my friends as well. You are doing awesome job Sir.Thanks for sharing your knowledge.
Glad to hear that. and thanks for helping us to grow
@@ValaxyTechnologies Thanks and same here Sir :)
Thank you so much brother Simple english Clarity on subject You made it easy 😊🙏🙏🙏👏👌
Excellent hands on based training material. Good to see a jump start on the ansible scripts .
Thanks Magesh, If you would like to see the full course of this. Free access to AR Shankar courses for next 2 months on skillshare. Use below link www.skillshare.com/classes/Ansible-for-the-DevOps-Beginners-System-Admins/1701816809?teacherRef=843528918&via=teacher-referral&ShortUrl&
Really quick and helpful ! Nice
Thank you, simple and straight forward
Excellent breakdown 👏👏
Thanks for the video. ca you provide more videos for playbooks examples. Based on the modules.
Excellent tutorial! Thanks a lot
The way u explained is good bro, we can easily understand. Can you explain dis We make a playbook to check redhat os version but how to send this alert in Outlook mailbox notification
you are the best !
Hi, Great Video, i want to learn more on debug and how to show output on screen, also do ansible has any tool like powershell, where you can see modules
Well explained!!👌🏻👌🏻
Better explained ...its very helpful.
Nice explanation 🔥
This is really great for beginners
well explained thank you for the video.
thank you so much sir for ur valuble explanation becz i solved lot of queries from ur videos only .... when i stuck in anywhere in deovps its solved in ur channgel with ur videos
thanks you. great to hear that.
Nicely explained and very easy to understand
Very good way of explanation, thanks for it
alingment=indentation minus=hyphen and when you write in yaml the collection of tasks are called list and list get started with - that's why whenever you are starting a task before that you have to start a list and then task
Nice tutorial... understandable.. thanks
Nothing but thank you :)
Hi.. very neatly explained. Thank you so much. Can you also show me on how to write playbook for Sensu agents installation.
Thanks a lot for sharing this knowledge, for me it’s so useful. 👍
Glad it was helpful!
Well EXPLAINED.
Thanks you Shankar for this tutorial, this is really helpful for me alot
You are most welcome Now you can follow us on Instagram as well instagram.com/valaxytechnologies/
Very helpful tutorial simple and easy to understand Thank you sir.
You are most welcome!
I am beginner of Devops but I like all the videos as demonstrated in a simple way
thanks bro
Fantastic thanks man.
Thanks for the Knowledge sharing could Please upload some more videos related to playbooks in Real time projects It will be help full for many people around here.
Very good explanation
Thank you..Now I understand :)
Thnx a lot really helpful
Best explanation
Please create a video on setting up a windows host using ansible..I had a tough time to configure ansible installed on Ubuntu 16/18/20.x
Very helpful for beginers
It was a very good video👌👌👏we want more videos that would explain more about modules👍
Sure 👍
Hey bro, Could you please create a video? I'm currently running an Ansible playbook from Jenkins. Right now, I have defined the application in the Jenkins pipeline library, and I need to use the app name as a parameter in the Ansible playbook.
Bro super explanation can u plz do full ansible course
very good explanation.
Sir, 1. We request you please make the videos on Shell script which is required for DevOps. 2. Please make the videos of all Ansible topics with real time examples on different usage. We know in youtube there are lot of videos We are fan of your ways of teaching... Thank you Sir.
We will discuss shell scripting internally, not the top most priority at the moment. But ansible topics are on the way in the coming weeks/months. In the mean time, can we request you to share, like & subscribe to our channel
Thank you sharing your knowledge in an open social network !! I'd like to know more about hosts and installing ansible in an AWS EC2 Amazon Linux. I'm waiting for the post which I requested. Thanks in advance !!
Do take time to look around in our channel. All your questions are answered in the DevOps Playlist.
To know more please join in our facebook group facebook.com/groups/valaxy.aws.devops.gang/
Very good video sir! 😊Could you please add some videos on how to execute commands in a router using ansible, to start with. Thank you! 👍
wow, Why? Does the router have APIs? Do they have publicly available docs/SDK to support automation? What is the objective of this exercise?
Hi Srinath, have you got any idea on the above implementation using Spring boot application - how to execute commands in a router using ansible playbooks
nice and smooth
Very good thanks!
Great Video as always. #1000 like from me. :D
Good class sir
I need to install forticlient to 150 VMs. Can I use the same method to do that?
Thanks a ton . Its helped a beginner like me to understand
Your Welcome Amit! Glad to know that! :) Thank you for the review :)
Thanks. Very good one. Please can you tell what is the editor you are using to write or edit yml files directly on Linux machine.
Every day I watch at least one video of yours.
We should introduce badges, rewarding your viewership!! Cheers!!!
Good one
thank you very much
if we want to do it for complete vpc how can we do it
how did u authenticated ec2 instance from ansible ? U just given host IP in hosts file.
Very useful
Can you explain how to move into the playbook directory while installing nginx package
Is there actually a directory you "have to" place this newly created file to add the contents of the playbook or it doesn't matter?
Following ur videos regularly .....nice and clear explanation ......without missing any points.... Doing a great job Mr Shankar.....
Thanks. Join our facebook group to get in touch with us. fb.com/valaxytech
Hi, can you please write ansible playbook to perform ssh login on remote host and then check for sudo access
Very nice Explanation sir
You are welcome, Do Like, Share and Subscribe. If you are looking anything in specific add them here.
Sir. Can we create hosts file with different name ??
Very nice explanation sir.
To know more please join in our facebook group facebook.com/groups/valaxy.aws.devops.gang/
Gud one
Sir, can you please tell me how to write adhoc command for root user. Eg: ansible webservers -m pacakage -a "name=wget state=installed sudo=yes" is not working. Could you please assist me on this
Explained very nicely I seen many Tutorials yours is one of the best keep doing
Hi, Thanks for watching this video. Please subscribe to our KZhead channel.
Nice one 👍
Thanks for the visit.
Can you show one example to configure router
Nice
Nice explanation
Thanks for liking. Keep watching !
Could you record on session on Kubernetes Orch. (full life cycle of orchestration)
To know more please join in our facebook group facebook.com/groups/valaxy.aws.devops.gang/
Thanks. my question is slight different to this topic, what is the difference between deployment only by Jenkins and deployment Jenkins+Ansible
Incase if you want to install any softwares or packages in the deployment server you can do that right
Good explanation
Thanks and welcome
not clear from which machine you are running playbook against which server you are installing Nginx, on which machine you modified sudoers file?
Awesome..!!
Thanks ✌️
Could you please add how to patch multiple windows servers using ansible in GUI mode.
You can have a look here - github.com/miztiik/Automated-Update-Management-in-AWS
Thank you, that's very good start to learn Ansible, but I have a question; while connecting to AWS EC2, why it doesn't need any password or .pem file?
Hi Ahmet, because we are using key based authentication. For this you need public and private keys. it automatically picks up user private even though you don’t specify while connecting to server. you can find my complete ansible course here www.udemy.com/course/valaxy-ansible/?referralCode=9F36DC2010AEB6D64263
Hi you tell me how to write the below playbook. write a ansible book which will list all the folders and files having permession 0775 and output should be saved in a file??
Do tell us, what you have tried so far (pastebin maybe?) we can help you from there?
help me out create yml script for mac brew packages
Please make videos on Terraform and shell scripting
Do you know how to write server automatic testing script, such as to know space is available or not, restart, monitoring. For build purpose I required it.
Hi Jafffar, space, restart or monitoring can be done with help of minoring tools like, Promotheus, Nagios, datadog, Remedy etc.. But I didn't get "Automatic testing script". What do you want to test here.
How to write a playbook for creating 10 users in jenkins using Ansible?
Hi Sir, Followed every step but "UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host via ssh: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).", "unreachable": true" getting this error, can you able to fix this?
Hi sir how to resolve the ,unreasonable, permissions denied (public key)
Sir how did you create this playbook directory inside opt.. Can u please temme d steps... Because mkdir is not working for me in centos when I am trying to create it for ansansible user?
Do yourself a favor, Part 0 - Introduction to Linux in AWS : kzhead.info/sun/eNCfm5VwfHmofas/bejne.html Part 1 - Linux Commands for AWS: kzhead.info/sun/qtyknMNrf3ydqZs/bejne.html Part 2 - Linux Commands for AWS: kzhead.info/sun/gtuhaNR9o4uflIk/bejne.html Part 3 - Linux Commands for AWS: kzhead.info/sun/aZqJksZwkH6eoo0/bejne.html Part 4 - Linux Commands for AWS: kzhead.info/sun/hLiYld5-enSJknk/bejne.html More - kzhead.info/tools/_evcfxhjjui5hChhLE08tQ.htmlsearch?query=linux
By default nginx will run right... On ec2 instance? Why it is not running.?? U havnt mentioned in Security groups thr port number?.. so that is y its not working???
that's right. You need to create the inbound rule under the Security Groups in order to open the port. I just followed the video and have done that.