How to write your first Ansible playbook | Write Simple Ansible Playbook | Learn Ansible Basics
ฝัง
- เผยแพร่เมื่อ 26 ก.ย. 2024
- DevOps Online Training Registration form: bit.ly/valaxy-...
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/udemysh...
DevOps Workshop-2 ► bit.ly/udemyde...
DevOps Project-1 ► bit.ly/udemyde...
Kubernetes microservices ► bit.ly/udemykube
Linux for DevOps ► bit.ly/udemyvinux
Git for DevOps ► bit.ly/udemygi...
Ansible for DevOps Beginners ► bit.ly/udemyan...
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/ValaxyA...
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... ============ Connect with Us =========
Facebook ► bit.ly/ValaxyFB
Instagram ► bit.ly/valaxyinsta
LinkedIn ► bit.ly/valaxyln
Website ► www.valaxy.in/
► courses.valaxy...
#Devops #Valaxy #AWS
Indian guy on TH-cam 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.
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 :)
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.
This is literally the best explanation. I subscribed to your channel just a few minutes of listening to your explanation. Thank you 🙏🏾
I am beginner of Devops but I like all the videos as demonstrated in a simple way
thanks bro
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
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.
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.
That's a really great tutorial sir.
Helped me to understand the core logic and working of ansible
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&
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.
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/
God Bless you, SIR. We All Appreciate your Help.
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/
Thanks for the tutorial, I liked the way you are explaining.
Very helpful tutorial simple and easy to understand
Thank you sir.
You are most welcome!
Most helpful to
clear the base knowledge.............really awesome .
This is so helpful. Thank you :)
Thanks a ton . Its helped a beginner like me to understand
Your Welcome Amit! Glad to know that! :) Thank you for the review :)
Nothing but thank you :)
Thank you Sir...CONCEPTS EXPLAINED NICELY!!!
Nice tutorial... understandable.. thanks
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.
Thank you so much!!..could understand easily!!..God bless you!
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
Really quick and helpful ! Nice
It was a very good video👌👌👏we want more videos that would explain more about modules👍
Sure 👍
Thank you so much brother
Simple english
Clarity on subject
You made it easy 😊🙏🙏🙏👏👌
Very good way of explanation, thanks for it
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.
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 TH-cam channel.
Excellent explained Good Job
Glad you liked it
Very nice explanation
Thank you!
Hi.. very neatly explained. Thank you so much. Can you also show me on how to write playbook for Sensu agents installation.
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
Nicely explained and very easy to understand
Please make videos on Terraform and shell scripting
This is really great for beginners
Thanks a lot for sharing this knowledge, for me it’s so useful. 👍
Glad it was helpful!
Thank you, simple and straight forward
Can you explain how to move into the playbook directory while installing nginx package
how did u authenticated ec2 instance from ansible ? U just given host IP in hosts file.
Thanks really awesome!
Your Welcome Victor !
Bro super explanation can u plz do full ansible course
Nice explanation
Thanks for liking. Keep watching !
Best explanation
not clear from which machine you are running playbook against which server you are installing Nginx, on which machine you modified sudoers file?
I need to install forticlient to 150 VMs. Can I use the same method to do that?
Hi, can you please write ansible playbook to perform ssh login on remote host and then check for sudo access
Better explained ...its very helpful.
Nice explanation 🔥
you are the best !
well explained thank you for the video.
not all hero wear capes
thank you
nice and smooth
Nice
Thank you..Now I understand :)
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
Well EXPLAINED.
Very good thanks!
Very helpful for beginers
Good class sir
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?
Excellent tutorial! Thanks a lot
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
Thanks for the video. ca you provide more videos for playbooks examples. Based on the modules.
Very useful
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?
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.
Please can you provide some more videos on playbooks
Thanks for your comment.
Please join in below Facebook group to get in touch with you.
facebook.com/groups/valaxy.aws.devops.gang/
thank you so much!
Well explained!!👌🏻👌🏻
if we want to do it for complete vpc how can we do it
thank you very much
How to create the basic and intermediate level playbooks such as (Copying files/ patching the server using yum etc)
Better you can follow my ansible course. it defiantly helps.
courses.valaxy.in/courses/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?
Thnx a lot really helpful
help me out create yml script for mac brew packages
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.
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
where is the ssh connection established between Control and Managed Node
Any live demo on ansible....Or do u have seperate classes on Ansible..
Can you explain, what you mean by live demo?
It was showing youtube live in 30 min. So I thought that any live demo like webinar you are conducting on ansible..
You must be getting confused about "Premiere"
Sir. Can we create hosts file with different name ??
Fantastic thanks man.
Hi sir how to resolve the ,unreasonable, permissions denied (public key)
Very nice explanation sir.
To know more please join in our facebook group
facebook.com/groups/valaxy.aws.devops.gang/
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
Great Video as always. #1000 like from me. :D
Gud one
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
Thank you
You're welcome
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!!!
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
Nice one 👍
Thanks for the visit.
how to deploy the code automatically
Awesome..!!
Thanks ✌️
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 : th-cam.com/video/Elfk18EGrJs/w-d-xo.html
Part 1 - Linux Commands for AWS: th-cam.com/video/wxkl_3HJgvc/w-d-xo.html
Part 2 - Linux Commands for AWS: th-cam.com/video/Owh8pElYiaQ/w-d-xo.html
Part 3 - Linux Commands for AWS: th-cam.com/video/66Pbb8YLhoU/w-d-xo.html
Part 4 - Linux Commands for AWS: th-cam.com/video/QT_ezFCBS_A/w-d-xo.html
More - th-cam.com/channels/_evcfxhjjui5hChhLE08tQ.htmlsearch?query=linux
How to write a playbook for creating 10 users in jenkins using Ansible?
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