Ansible application to patch OS

  Рет қаралды 3,992

technotes of Hemant

technotes of Hemant

Күн бұрын

Пікірлер: 14
@cloudtechs5851
@cloudtechs5851 3 жыл бұрын
One of the best videos regarding Ansible usage on internet
@roya2045
@roya2045 4 жыл бұрын
Hi the ansible playbook structure/spacing or what its called as indentation is this structure common on all playbooks that is written or does it change. Its bit confusing where and when to use spaces & hyphens in a playbook. I am not from a coding or developer background hence it becomes more confusing is there a editor to automatically take the spacing & hyphens when writing the playbook. Can you make a video on how to structure the playbook step by step.Kindly reply
@technotesofhemant8338
@technotesofhemant8338 4 жыл бұрын
Sure I will try to make one on that. Still for a general understanding we use hyphen (-) at 3 major places: 1. Starting of playbook either in name of play or you with hosts directly. 2. Starting the tasks , again in providing their name or directly with module one is using. 3. While defining more than one values as input to keep them at same indentation. This can be used to provide more than one value or dealing with one or more conditions. Now regarding to indentation, I use single rule that what is the scope of the parameter we are dealing with. For ex, an attribute of a module will always have more spaces than the module itself. At same place the conditions applied on task will have same indentation as that of module as that will affect module behaviour. Hopefully I made sense and it is helpful for you. You can always connect with us for any queries. If you like the videos , please like share and subscribe.
@kingroc3651
@kingroc3651 3 жыл бұрын
The async and poll error is because the indent!
@puneetgupta8686
@puneetgupta8686 4 жыл бұрын
Love you bro nice thing you are doing keep it up
@technotesofhemant8338
@technotesofhemant8338 4 жыл бұрын
Thank you so much 😀
@priyankahemantgangwar2800
@priyankahemantgangwar2800 4 жыл бұрын
Great concept and content
@technotesofhemant8338
@technotesofhemant8338 4 жыл бұрын
Thanks
@ManpreetSingh-xq3dp
@ManpreetSingh-xq3dp Жыл бұрын
How are the packages are fetching for next patching cycle
@ManpreetSingh-xq3dp
@ManpreetSingh-xq3dp Жыл бұрын
Whether we need to enable any repository as well in the master server
@technotesofhemant8338
@technotesofhemant8338 Жыл бұрын
Not actually
@santoshdegil4880
@santoshdegil4880 2 жыл бұрын
It is really helpful. I need one more help on this check if you can provide. I have different packages to exclude for every server, is there any way instead of adding that package name in file we can in put that package name while executing playbook.
@technotesofhemant8338
@technotesofhemant8338 2 жыл бұрын
Thank you very much for your comment. Now coming to your additional feature, I suggest put a variable in place of exclude package name. Then make use of hostvars/groupvars approach to provide value for that variable against each server or for a server group.
@wisereveryday9021
@wisereveryday9021 Жыл бұрын
Terraform + Ansible : Automating configuration in Infrastructure
21:06
technotes of Hemant
Рет қаралды 22 М.
Ansible Patching and Compliance Automation
11:30
Alex Dworjan
Рет қаралды 9 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Linux Patch Management || How to Patch Linux OS vulnerability
13:54
Linux OS Patching Using Ansible | #AnsibleRealLife | techbeatly
1:16:00
you need to learn Ansible RIGHT NOW!! (Linux Automation)
21:21
NetworkChuck
Рет қаралды 908 М.
Automate RHEL Patching with Ansible and Red Hat Satellite
4:35
The Root User
Рет қаралды 8 М.
Manage Windows like Linux with Ansible
41:39
Red Hat Summit
Рет қаралды 103 М.
Ansible Playbook Example to Backup Cisco Router or Switch Config
13:26
4 | From Beginner to Pro: Ansible Playbooks Explained
13:25
Automation Step by Step
Рет қаралды 14 М.
Linux Crash Course - Connecting to Linux Servers via SSH
15:54
Learn Linux TV
Рет қаралды 77 М.