Тёмный

MANAGE WINDOWS SERVER WITH ANSIBLE 

Ranjit Swain
Подписаться 3,5 тыс.
Просмотров 7 тыс.
50% 1

Ansible is one of the widely used CM and CD tool in the current market.
Same time we should have knowledge on working on various operating systems with Ansible.
In this video we will learn how we can manage the windows server using Ansible.
Platform Used:
AWS
Ubuntu Linux Server (Ansible) (EC2 Instance)
Windows Server (EC2 Instance)
Pre-requisite:
You should have knowledge on Installing and working with Ansible
Useful Links:
Overview On Ansible and Installation:
• ANSIBLE TUTORIAL FOR B...
Creation and connecting Windows Server:
• AWS Tutorial : EC2 Win...
Configuring HTTPS listener in Windows:
Step1: Create Certificate
New-SelfSignedCertificate -DnsName "DNS Name" -CertStoreLocation Cert:\LocalMachine\My
Step2:
Whitelist port 5985(winrm-http) and 5986(winrm-https) in the security group of the the windows server.
Step3: Create HTTPS Listener
winrm create winrm/config/Listener?Address=*+Transport=HTTPS '@{Hostname="DNS Name"; CertificateThumbprint="ThumbPrint"}'
Step4:
Add new firewall rule for 5986
netsh advfirewall firewall add rule name="Windows Remote Management (HTTPS-In)" dir=in action=allow protocol=TCP localport=5986
Step5:
Check the listener and make sure https listener is there.
winrm e winrm/config/Listener
Check The Service
winrm get winrm/config
Make sure the Basic Auth is set to true, if not then execute below commands.
Set-Item -Force WSMan:\localhost\Service\auth\Basic $true
#devops #ansible #windows #automation #aws #ec2 #linux
SUBSCRIBE to my channel:
/ @ranjitswain
: FOLLOW ME :
LinkedIn - / ranjitkuswain
Instagram - / rs.ranjitswain
Facebook - / rs.ranjitswain
Twitter - / rs_ranjitswain

Наука

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

 

9 июл 2023

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 10   
@bhaveshpatel2763
@bhaveshpatel2763 Час назад
hanks you so much !
@tiendat1967
@tiendat1967 3 месяца назад
You just saved my life. Thanks you so much !
@RanjitSwain
@RanjitSwain 3 месяца назад
Glad it helped!
@ortizs23
@ortizs23 5 месяцев назад
thanks, got it working from your video, AAP 2.4 with server 2022
@RanjitSwain
@RanjitSwain 5 месяцев назад
Glad it helped you.
@HarishNelapati
@HarishNelapati 2 месяца назад
Sir do we need service account for authentication b/w windows and linux ?
@phanirajendra758
@phanirajendra758 Месяц назад
Thanks for your detailed explanation , as i tried i am getting this issue "Failed to connect to the host via ssh: Connection timed out during banner exchange" plz help
@RanjitSwain
@RanjitSwain 24 дня назад
Hi, thanks for writing. You should share the right key while connecting to the server over ssh or, the required port might not have whitelisted.
@Hunter_33_AT
@Hunter_33_AT 6 месяцев назад
How to setup a W7 SP1 for ansible?
@RanjitSwain
@RanjitSwain 5 месяцев назад
Hi, you can try the similar method of setting
Далее
Rope climb tutorial !! 😱😱
00:22
Просмотров 4,6 млн
Et toi ? Joue-la comme Pavard ! 🤪#shorts
00:11
Просмотров 1,9 млн
This web UI for Ansible is so damn useful!
20:07
Просмотров 458 тыс.
Configure a Windows Host for Ansible - ansible WinRM
18:13
Manage Windows like Linux with Ansible
41:39
Просмотров 101 тыс.
Ansible in 100 Seconds
2:34
Просмотров 557 тыс.
Blackview N6000SE Краш Тест!
1:00
Просмотров 31 тыс.