Ansible Manage Windows

preview_player
Показать описание
Manage Windows Systems using ansible. Ansible uses Windows PowerShell remoting to manage Windows.
You can get current winrm configuration using
winrm get winrm/config

Use this commands for setting winrm
Set-Item -Force WSMan:\localhost\Service\Allowunencrypted $True
Set-Item -Force WSMan:\localhost\Service\auth\Basic $True
Рекомендации по теме
Комментарии
Автор

The most to-the-point, step by step guide I have found! Thank you much Sir!

JCtheMusicMan_
Автор

You have earned a sub sir.
Very well explained.

irfan
Автор

great tutorial - thanks for explaining this so well! Also, excellent music.

ctrl
Автор

Ignore that Down-Vote! This stuff needs a conversation! Thank you.

xrz
Автор

Please provide commands which you used to run file. At 4:48

SagarAjmire
Автор

I was told this isn't the bset way to use it in production. Do you have any tips for setting it up in production? Any videos I can follow to get it going quickly? Things like certificates/SSL? Thank you

OhDearBabajan
Автор

Will i be able to install applications when the inventory nodes are in public network ?

mohanurs
Автор

Very nice tutorial for basic winrm. Do you have any tutorials for AzureAD joined machines ?

bt
Автор

now that ssh is available in windows 10, can we manage windows just like any other *nix based machines. i mean without setting up winrm.

irfan
Автор

Great Video, but i need urgently to know how to automate joining domain computers to specified domain groups !?

ahmedshaarawy
Автор

when we using a win_chocolatey module to install a package like a firefox, curl as in the video, from where this package was downloaded ? is it from the internet ? is the internet mandatory to install the package in windows using chocolatey through ansible?

avijitnaskar
Автор

Sir I am getting below error. Can you please help how I can resolve this

"msg" : "basic: auth method basic requires a password", "unreachable": true

mabhinash
Автор

Hello everyone. This may not work as the ntlm transport is missing in inventory parameters

piyush
Автор

Hi sir, i need your help to create playbook for mssql server for windows machine, it will be paid, plz reply,

zahidiqbal-ugkh
Автор

Can you help me to enable credssp based authentication

sajidshaik
Автор


Use of NTLM at very least for authentication via WinRM for windows hosts. Below is still "yellow flag" since ignoring cert validation...

hosts should include these vars:
"vars": {
"ansible_connection": "winrm",
"ansible_winrm_transport": "ntlm",

"ignore" #TODO: Use CA cert trust path and verify
}

And target host should have this run to enable WinRM via HTTPS for secure connections (see the windows_setup.html guide):

$file =

(New-Object -TypeName System.Net.WebClient).DownloadFile($url, $file)

powershell.exe -ExecutionPolicy ByPass -File $file

joerykowski