Ansible and Windows - How PowerShell enables a Linux...
summary
Ansible remains a Linux control plane: Ansible control node runs only on Linux. Windows management uses PowerShell modules that return JSON and expose parameters and errors; Windows modules use PowerShell and return JSON. Demo uses OpenSSH to connect to a Windows Server 2022 VM, creates and removes C:\ansible-demo\demo_test showing changed true/false, and simulates a thrown exception when data equals "crash". Inventory, collections, Python/winrm requirements and Ansible Core vs Ansible determine what actually works.
AI-written summary · about
chapters (10)
- 0:00Ansible and Windows intro
- 1:54Ansible history overview
- 5:44Ansible infrastructure
- 11:41Ansible host communication
- 15:32Windows host requirements
- 17:44Ansible on Windows via WSL
- 21:37First Ansible Windows module
- 24:22Live demo: Windows module
- 39:19Key takeaways and future
- 40:26Q&A on Windows support
related talks
01h 40mAnsible for the Windows Admin
46mWrangling Your Windows Infrastructure With Ansible
01h 28mYour Superpowered Windows Infrastructure Toolkit: Ansible,...
45mUsing PowerShell to be a Linux Administrator
37mAnsible 101
23mIntroduction to Ansible for Network Engineers
49mWhen PowerShell Is Better Than Ansible? Recipes for Managing 1,000+ Servers
01h 05mAnsible Basics
