Ansible for the Windows Admin
summary
Shows how VSCode + WSL becomes an Ansible console, uses WinRM to manage Windows hosts, and demos building an Active Directory domain on Vagrant VMs with playbooks that call win_feature, win_dsc and win_shell. Explains credential handling with ansible-vault, winrm message encryption (Ansible 2.6), wait_for_connection and handlers to avoid failed reboots, and how PowerShell DSC resources get invoked. Includes a working example of writing Windows modules in PowerShell that accept JSON arguments and return changed/failed JSON, plus the WSL file-permissions gotcha.
AI-written summary · about
chapters (41)
- 0:00Start
- 2:00Declarative Configuration
- 2:13Human Readable Configuration
- 3:47Why People Are Not Using Ansible
- 5:13Why Do I Need Ansible
- 7:50Hosts an Inventory
- 9:15Data Files Yaml
- 11:59Check Mode
- 12:14Demo
- 13:44Ansible Extension
- 14:12File Associations
- 14:44Ansible File Type
- 15:06Set Your Default Shell
- 16:46Issue with File Permissions and Metadata
- 17:41Permission for Everyone
- 18:28Change File Permissions
- 20:55Ansible Files
- 22:26Defining the Hosts
- 22:50Gather Facts
- 23:34Use the Name Field
- 29:00Callback Plugins
- 31:59Ansible Vault Encrypt
- 33:45Ansiblevault Encrypt String
- 39:50Debug and Pause
- 43:44Convert It to Json
- 46:25Code Snippets
- 50:59Winrar Message Encryption
- 51:32Ssl Encryption
- 53:08Kerberos
- 1:05:43Create a Domain
- 1:06:12Variables
- 1:07:44Wait for Connection
- 1:09:25Loop
- 1:19:29Module Authoring
- 1:19:55Ansible Modules Running in Powershell Core
- 1:20:26Helper Modules
- 1:22:41Windows Module
- 1:26:16Helper Functions
- 1:27:09Get Ansible Param
- 1:31:32Ansible Config File
- 1:33:39Param Block
related talks
46mWrangling Your Windows Infrastructure With Ansible
01h 28mYour Superpowered Windows Infrastructure Toolkit: Ansible,...
44mAnsible and Windows - How PowerShell enables a Linux...
45mUsing PowerShell to be a Linux Administrator
01h 05mAnsible Basics
01h 34mAnsible 101
26mWriting, running, and testing awesome Ansible content with natural language and AI
27mMastering Ansible Efficiency with IBM Watson Integration
