MANAGE WINDOWS SERVER WITH ANSIBLE

Описание к видео MANAGE WINDOWS SERVER WITH ANSIBLE

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 BEGINNERS - Sess...  

Creation and connecting Windows Server:
   • AWS Tutorial : EC2 Windows Instance c...  

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  

Комментарии

Информация по комментариям в разработке