Skip to main content

Posts

Showing posts from June, 2019

Ansible for Microsoft's Windows

Hello Thanks for visiting RvKmR's blogs T oday we are discussing managing Microsoft Windows machines with Ansible. We know that managing Linux machines with Ansible is quite common nowadays. but managing windows machines with Ansible is quite new. SSH service is used to manage Linux machine and for windows WinRM. Please check more details about WinRM here . L ets checkout steps to configure WINRM for ansible. Below are requirements for WINRM configuration on target windows machine. Admin Credentials of target windows machine. Stop firewall on target windows machine. Powershell version 3.0 and .net framework 4.0 Let's start configuring Windows machine: I am considering you have administrator account credentials with you. Open Firewall in windows machines and turn of it or allow port 5985 and 5986. Update Powershell and .Net Framework with below commands on PowerShell. $url ="https://raw.githubusercontent.com/jborean93/ansible