~/talk

Ansible for the Windows Admin

slides:none on file

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

  1. 0:00Start
  2. 2:00Declarative Configuration
  3. 2:13Human Readable Configuration
  4. 3:47Why People Are Not Using Ansible
  5. 5:13Why Do I Need Ansible
  6. 7:50Hosts an Inventory
  7. 9:15Data Files Yaml
  8. 11:59Check Mode
  9. 12:14Demo
  10. 13:44Ansible Extension
  11. 14:12File Associations
  12. 14:44Ansible File Type
  13. 15:06Set Your Default Shell
  14. 16:46Issue with File Permissions and Metadata
  15. 17:41Permission for Everyone
  16. 18:28Change File Permissions
  17. 20:55Ansible Files
  18. 22:26Defining the Hosts
  19. 22:50Gather Facts
  20. 23:34Use the Name Field
  21. 29:00Callback Plugins
  22. 31:59Ansible Vault Encrypt
  23. 33:45Ansiblevault Encrypt String
  24. 39:50Debug and Pause
  25. 43:44Convert It to Json
  26. 46:25Code Snippets
  27. 50:59Winrar Message Encryption
  28. 51:32Ssl Encryption
  29. 53:08Kerberos
  30. 1:05:43Create a Domain
  31. 1:06:12Variables
  32. 1:07:44Wait for Connection
  33. 1:09:25Loop
  34. 1:19:29Module Authoring
  35. 1:19:55Ansible Modules Running in Powershell Core
  36. 1:20:26Helper Modules
  37. 1:22:41Windows Module
  38. 1:26:16Helper Functions
  39. 1:27:09Get Ansible Param
  40. 1:31:32Ansible Config File
  41. 1:33:39Param Block
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.