filmov
tv
Learn How to Use Ansible to Manage Windows Servers (winrm) - Step by Step Guide
Показать описание
* Certificate/Kerberos authentication:
If you'd like to use domain certificates on Windows and authenticate using Kerberos over HTTPS, get in touch. I'm not able to demo that process on YouTube but I've done it many times for various companies I've worked at. I can make myself available for a few days consulting if this is of interest.
---
------
This is a real-time demo of how to set up your windows servers so they can be managed by ansible.
-----
GIST Document (cut&paste1):
------
------
The following is covered by this demo:
• Setup a windows 2016 server so ansible can manage it (over HTTPS)
• Setup my Centos 8 server so it can manage windows servers using winrm
• Create an inventory file to hold the windows connection variables
• Prove the connection with win_ping
• Create a basic ansible playbook to manage directory’s, files (templates), md5checksum & updates.
• Use ansible-vault to hide the password from the inventory file
AnsibleDocs:
Setup Windows:
For Windows 2016, change the default powershell TLS version to TLS v1.2 with this powershell command:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Linux WinRM setup:
Windows module links:
Protect sensitive variables:
#Windows #Ansible #automation
Комментарии