Тёмный

Ansible Automation | Operating System Patching for Multiple Linux Servers using Ansible 

Yogesh Mehta
Подписаться 17 тыс.
Просмотров 80 тыс.
50% 1

Опубликовано:

 

30 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 110   
@DavidA-xn6on
@DavidA-xn6on 5 лет назад
Three years later this video remains "Magnifique"...Thank you...
@vasudevn4986
@vasudevn4986 7 лет назад
Waav excellent video. Thank you so much for sharing it Yogesh...
@TMD21Apr09
@TMD21Apr09 3 года назад
Awesome demo, thank you so much bro!
@georgezviadgoglodze7810
@georgezviadgoglodze7810 7 лет назад
really useful. good job Yogesh
@petrichor30
@petrichor30 7 лет назад
Yogesh Patch management video is really superb, expecting more videos from you.One clarification how spacewalk is used with Ansible for patch management. Similarly kindly upload video explaining of Ansible components from scratch
@bhakta_rg
@bhakta_rg 5 лет назад
Nice one. please give the link to the playbook. The link you posted asks for facebook password which is not good :(
@kaustubhdhavale5294
@kaustubhdhavale5294 5 лет назад
Thank you so much Yogesh. Video is really helpful.
@YogeshMehta
@YogeshMehta 4 года назад
Thanks for the feedback
@smartkids2022
@smartkids2022 4 года назад
Thanks for sharing this video Yogesh. it's really great and very helpful.
@suraqazaheer8041
@suraqazaheer8041 4 года назад
This is great ! Thank you Yogesh.
@SukhwinderSingh-dm3bm
@SukhwinderSingh-dm3bm 5 лет назад
excellent video. Thank you so much for sharing it Yogesh
@mdshahidjamal
@mdshahidjamal 6 лет назад
Thank you Yogesh! it's realy usefull.
@keshavpratapsingh6312
@keshavpratapsingh6312 3 года назад
love you sir for your work..amazing stuff
@jamesbowman9867
@jamesbowman9867 3 года назад
It was a very good video. Excellent!
@coolboy8636
@coolboy8636 7 лет назад
Thanks for such a nice video, it is very neatly described and easy to understand. If you can put Chef video as well, that would be great.
@YogeshMehta
@YogeshMehta 7 лет назад
thanks coolboy, stay tuned to channel,will add videos on chef in future.
@coolboy8636
@coolboy8636 7 лет назад
Thank you..
@YogeshMehta
@YogeshMehta 7 лет назад
coolboy8636 pleasure for me , if these videos helped you.
@bsanders
@bsanders 6 лет назад
Great video. Some package updates will require some (or many) processes to be restarted, but your reboot check is only for kernel updates. We reboot when either 1) the latest installed kernel does not equal the running kernel, OR 2) when "needs-restarting" returns > 0 status. This check will return a zero if the system does not need a reboot: [[ `rpm -q --last kernel | perl -pe 's/^kernel-(\\S+).*/$1/' | head -1` = `uname -r` ]] && /usr/bin/needs-restarting
@YogeshMehta
@YogeshMehta 6 лет назад
thanks Bret, I agree with you..
@yogithakakarla1716
@yogithakakarla1716 3 года назад
Can we have this playbook available to download
@kanhaiyaa515
@kanhaiyaa515 6 лет назад
@Yogesh Mehta The provided playbook link is broken... Please can you help with the playbook. I am an explorer in the field and want to try this script for myself.
@TMD21Apr09
@TMD21Apr09 3 года назад
I too am looking for it
@madhukarreddy6879
@madhukarreddy6879 4 года назад
Awesome man.
@nishantbindal2403
@nishantbindal2403 2 года назад
@Yogesh - Thanks for the video. Coild you please check playbook link as it is not working. I would like to have this playbook for learning
@lijinpp6717
@lijinpp6717 4 года назад
Thank you Yogesh, could you please comment, if we need to monitor the patching progress, which module needs to be added? no update on the yum.log on the management host ile when we apply the patches
@YogeshMehta
@YogeshMehta 4 года назад
That’s really good question. The playbook I shared is very basic and doesn’t capture real production scenarios. You may refer to system logs for the progress
@reethanarkaniselvaraj21
@reethanarkaniselvaraj21 7 лет назад
WOW.. Nice REally Good Video
@MrHanSoL0
@MrHanSoL0 2 года назад
Great and very useful thank you 👏
@sunilachare2401
@sunilachare2401 3 года назад
Very Good Video liket it
@tsrinath
@tsrinath 6 лет назад
Hi yogesh, how to execute remote commands using ansible-playbook command suppose I have a inventory file and wanted to execute date and cat /etc/redhat-release commands and get the output in a shell
@YogeshMehta
@YogeshMehta 6 лет назад
Hi Srinath, I will say use adhoc command for that task. # ansible -i host.ini all -m shell -a “cat /etc/redhat-release”
@anilreddyk2618
@anilreddyk2618 2 года назад
Hi yogesh. How can we do patching of aws windows machine using ansible playbook
@78damara
@78damara 2 года назад
Thank you very much Yogesh Mehta. Could you please share the playbook under introduction because many people don't have Facebook account. thank you sir
@237311
@237311 Год назад
Useful video. Can this be used for patching MacOS?
@valpro99
@valpro99 4 года назад
Excellent video.
@AntiPakistani
@AntiPakistani 7 лет назад
Hi Yogesh, You're only checking running instance of apache/httpd, how about database process? Awaiting for your reply. Thanks in advance - Suresh
@YogeshMehta
@YogeshMehta 7 лет назад
Suresh Bichhali suggest to watchvideo completely. Httpd is just and example, you can put any process in grep
@immastimaker
@immastimaker 3 года назад
Hi Yogesh, Thanks for the wonderful video about patching through Ansible. But how do I roll back the patching in the playbook. Can you please guide on this.
@YogeshMehta
@YogeshMehta 3 года назад
Hi Prasad, easiest and quickest way to rollback will be reverting back to pre patching snapshots.
@sampadpradhan4244
@sampadpradhan4244 4 года назад
Wonderful.....thank you sir..
@gmssvideos
@gmssvideos 4 года назад
How to export all servers result in to a file. To check whether they got reboot or not during patching time
@YogeshMehta
@YogeshMehta 4 года назад
Hello Mohan, I would get results/logs written to a file and grab the required info.
@vjj6258
@vjj6258 2 года назад
It was really helpful, how can we setup SSH connection between 100s of server, is there any automated way or manually we have to do?
@narasimhakoundinyavasapura1313
@narasimhakoundinyavasapura1313 3 года назад
Hi Yogesh...thanks for the explanation. This is really very nice I'm very new to this ansible playbook. After watching this video I have grabbed a lot of things on this playbook. Using multiple conditional statements. This helped to analyze more how to write a playbook. If you don't mind could please share me link of that play book where I can download it. The Facebook link is not working which is there in the description. Though this is a time taking, could you share that one for me. Thanks and Regards
@tusharkapoor2963
@tusharkapoor2963 2 года назад
Hi Yogesh, Its a nice video. But one questions here we need to stop and start the apps on the servers manually, can't we stop and start the apps through this same play book or can write diff one for that. Please tell.
@GO-AHEAD-LIVE
@GO-AHEAD-LIVE 7 лет назад
HOW CAN I INTEGRATING ANSIBLE TOWER WITH LDAP / ACTIVE DIRECTORY (VERSION TOWER 3.1.5) ?
@Emily-fm3no
@Emily-fm3no 5 лет назад
sir i run ur playbook it seems my one node only but my node not get reboot & not get update..can u pls help me .. Thanks advance
@YogeshMehta
@YogeshMehta 5 лет назад
You can run ansibke in verbose mode -vvv and it will give you details
@navyak7036
@navyak7036 4 года назад
Hi , Do you also help with windows patch installation through automation or can you redirect me to the correct place. Thanks
@kanhaiyaashtekar7185
@kanhaiyaashtekar7185 6 лет назад
This page is not available! Sir please provide link for the patch script.
@reethanarkaniselvaraj21
@reethanarkaniselvaraj21 7 лет назад
Could you please share the OS-Patching Ansible playbook
@YogeshMehta
@YogeshMehta 7 лет назад
playbook link is in the notes section .. facebook.com/download/preview/588448994612918
@SK_Maurya222
@SK_Maurya222 7 лет назад
Hi Yogesh, What is the meaning of "Serial:2" ?
@YogeshMehta
@YogeshMehta 7 лет назад
Hi Suneel, Serial means anisble with attempt the action on the target machines in the serially, instead of the default parallel mode. This is for the rolling updates. Refer the below link for the detailed info. docs.ansible.com/ansible/latest/playbooks_delegation.html Regards, Yogesh
@SK_Maurya222
@SK_Maurya222 7 лет назад
Thanks :)
@jean-hilaireyapi295
@jean-hilaireyapi295 4 года назад
Hi Yogesh, Thank you for these very helpful tutorials. how can we get the files in your demos ? Ôlè
@mastpraskum
@mastpraskum 4 года назад
Kindly suggest a open-source patching management tool for RHEL. I ve subscriptions for RHEL but don't want to expend money on satellite/smart management tool from RHEL.
@YogeshMehta
@YogeshMehta 3 года назад
You may explore spacewalk . spacewalkproject.github.io
@mallikarjunareddy6048
@mallikarjunareddy6048 5 лет назад
Hi Yogesh! Hope you are doing good! How these systems will get updated when you run playbook? are the systems subscribed to redhat satelite server or from redhat subscribed channels or how? Could you please update me asap Thanks in Advance Mallikarjuna Reddy
@YogeshMehta
@YogeshMehta 5 лет назад
Hello, Clients systems are subscribed to CentOS channels. Regards, Yogesh
@strikermdd
@strikermdd 7 лет назад
Link for Playbook not working for me at least.
@channangealve2304
@channangealve2304 4 года назад
Very good video. Please let me know how to build like your test environment. Also, can you use this in Windows patching?
@sarfarazansari501
@sarfarazansari501 Год назад
Thanks alot 👍
@BalaSubramani-pf3rb
@BalaSubramani-pf3rb 7 лет назад
Hi Yogesh, While running the same play book in my test server. I got the below issue, I tried it in google but i am not getting the proper result. Cloud you please help me to resolve the issue. TASK [decision point to stop patching] ***************************************** fatal: [192.168.50.102]: FAILED! => {"changed": false, "failed": true, "msg": "192.168.50.102 have NOT running Application."} to retry, use: --limit @/etc/ansible/Practical/Service.retry PLAY RECAP ********************************************************************* 192.168.50.102 : ok=2 changed=1 unreachable=0 failed=1
@Kiki_Terrene
@Kiki_Terrene 6 лет назад
All the videos are really helpful !! How we can make 1000 of server as ssh less before running playbook to those 1000 of server,Manually it will be difficult to generate and copy key on 1000 server
@3strings257
@3strings257 4 года назад
What if I am not connected to the internet and I want to patch or upgrade the kernel offline
@YogeshMehta
@YogeshMehta 3 года назад
You may use your local repository servers in that case.
@msurendarsuren
@msurendarsuren 5 лет назад
Your video is awesome, can you please share the playbook ? The link which is with the video is no longer working.
@YogeshMehta
@YogeshMehta 5 лет назад
Plabook is here lookaside.fbsbx.com/file/Ansible%20Patching%20Playbook.txt?token=AWzIYFSt0LeM6xh8438rQzFzZELlYkQPbvFswCPKAGcJi2--Dhp6BM_9KF4Frmp-jWl35zpW6Fj-e8Fqro2FTh_CRe7ALMOTbhdJzpUUyZYsusF-x19MlMGQFc6GDHzx7zCL93A88vVrUo4B3W8rEZ0xI5GAsmRdvZD6F774bpqB5A
@amitsarudkar7198
@amitsarudkar7198 5 лет назад
Superb Video. Yogesh, please can you share this playbook.
@YogeshMehta
@YogeshMehta 4 года назад
Thanks Amit, unfortunately I don’t have Git repo. I would write it at my own to get understanding on the YAML formatting and get more familiarity with ansible.
@Harshitgupta-qw2yc
@Harshitgupta-qw2yc 3 месяца назад
Please share the playbook as well..
@tsrinath
@tsrinath 7 лет назад
Hi Yogesh, Nice Video, good informative I have a requirement, I have few set of servers where we have to patch each sever differently, like 1 server is having 10 patches, 2server is having 15 patches, .. is there any possiblity that we can update patches dynamically
@YogeshMehta
@YogeshMehta 7 лет назад
+srinath t yes Srinath, you can use group and host variables for your requirement.
@Husbn62063
@Husbn62063 7 лет назад
Any chance you can put videos on saltstack please Yogesh? Thanks in advance!
@YogeshMehta
@YogeshMehta 7 лет назад
Refer below videos on Salt SSH basics ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-aTh7OkWT0qw.html ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-gNlSdE4DVu4.html
@Husbn62063
@Husbn62063 7 лет назад
Yogesh Mehta awesome thank you 🙏🏼🙏🏼
@KUMBAM
@KUMBAM 4 года назад
Thanks buddy
@RamaKrishna-ud6pu
@RamaKrishna-ud6pu 7 лет назад
please provide a demo on using satellite server and ansible for server build automation and config managements of server.
@Harshitgupta-qw2yc
@Harshitgupta-qw2yc 3 месяца назад
Thanks sir
@salmanzafar1949
@salmanzafar1949 2 года назад
It’s very nice vedio , can you make some more vedios of ansible playbook for migration VM or bare metal to Aws cloud. Also can you make play book for data migration?
@lakkireddysrinivasareddy6689
@lakkireddysrinivasareddy6689 7 лет назад
It's very good session, thanks for this video. My question is if we have multiple servers and want to update kernel on 3 machines at a time and if it is success on these machines then only it will move to next 3 machines and update kernel and so.on. Is this possible using Ansible, if yes please share me details it will be very helpful to me. Thank you.
@VijayIT_Hub
@VijayIT_Hub 4 года назад
With the help of serial keyword in ansible we can achieve this .. Give serial =3 in yaml file
@msuresh6053
@msuresh6053 6 лет назад
That's so kind of you . if you don't mind could you please make a video on ssh check on remote hosts . mainly how to automate using script . -^- -^-
@salmanzafar1949
@salmanzafar1949 2 года назад
It was nice vedio, can you make vedio of play book for VM/ bare metal migration to Aws, also data migration
@nonyagbo
@nonyagbo 5 лет назад
thanks so much - please if you don't mind - please share the playbook again may be using git ... and thank you
@YogeshMehta
@YogeshMehta 4 года назад
Thanks, unfortunately I don’t have Git repo. I would write it at my own to get understanding on the YAML formatting and get more familiarity with ansible.
@rajuteja7837
@rajuteja7837 2 года назад
The Facebook isn't working
@trueview6559
@trueview6559 4 года назад
Can any share the script
@balanaresh8506
@balanaresh8506 6 лет назад
Thanks
@georgei.8734
@georgei.8734 7 лет назад
Exellente video, do you have any video about install Ansible?
@YogeshMehta
@YogeshMehta 7 лет назад
thanks for feedback. yes please watch below playlist for Ansible installation and configuration. ru-vid.com/group/PLLsor6GJ_BEEDCsQ0ZpfrdfOMjKNTIxtO
@scottfactory756
@scottfactory756 7 лет назад
+Yogesh Mehta hi could you please give a tutorial on ansible and rundeck setup for large environments
@chandrashekharsingh7252
@chandrashekharsingh7252 3 года назад
Pls share play book
@kubeon7546
@kubeon7546 2 года назад
Please add that ansible code into git repo and share that
@chandrashekharsingh7252
@chandrashekharsingh7252 3 года назад
And pls share create nginx server play book
@mariadasuthummalapalli7222
@mariadasuthummalapalli7222 3 года назад
I could download it
@rajuteja7837
@rajuteja7837 2 года назад
Can we have this playbook available to download
Далее
Ansible Automation  | Ansible Playbooks for Automation
13:34
Manage Windows like Linux with Ansible
41:39
Просмотров 102 тыс.
Making Simple Graphical Linux Distro from Scratch
17:19
Getting started with Ansible 14 - Roles
19:38
Просмотров 76 тыс.
Ansible Patching and Compliance Automation
11:30
Просмотров 8 тыс.
Ansible Roles - Understanding Ansible Roles
28:57
Просмотров 103 тыс.