AUTOMATESQL
Lesson 1 of 24
4% Course
Module 0: Course & Lab SetupLesson 1 of 24
Free Lesson~7 min read
Module 0: Course & Lab Setup

Welcome & Course Orientation

How lessons, multi-node terminal prompts, and interactive lab tools work.

00:00Why Repeatable Windows AutomationChapter 1 of 7

Welcome to Ansible Fundamentals for Windows Professionals!

You are about to transform a 5-node Windows Server 2025, Active Directory (SANDBOX.LOCAL), and Ubuntu Linux (AC1) lab into a fully automated infrastructure test environment running entirely on your local workstation. By the time you finish this course, you will know how to replace repetitive GUI administration and brittle point-in-time scripts with declarative, repeatable, and idempotent Ansible playbooks—automating everything from Active Directory domain joins and secondary disk preparation to PowerShell DSC, Windows Updates, and rolling reboots.

Before jumping in, take five minutes to review this orientation guide. Understanding how the lessons are structured, how code snippets are formatted across your Windows and Linux nodes, and how to get help will ensure you get the most value from this course.


1. The Anatomy of an AutomateSQL Lesson

Every lesson in this curriculum is designed around a clear, hands-on milestone. Each lesson uses standardized visual callouts so you can scan for key details quickly:

Goal

Actionable Learning Objectives

Appears at the very top of each lesson. Summarizes the exact skills you will master and the technical milestone you will achieve before moving forward.

Note

Architectural Insights & Internals

Provides deep-dive technical context on Ansible execution mechanics, WinRM and OpenSSH transports, Active Directory Kerberos authentication, or Windows Server internals.

Tip

Pro Tips & Efficiency Shortcuts

Highlights command-line productivity tricks, keyboard shortcuts, or time-saving workflows from real-world enterprise environments. First tip: to hide or show the course syllabus on the left, press [ on your keyboard.

Warning

Operational Traps & Security Best Practices

Identifies common pitfalls, YAML indentation traps, production security rules (such as avoiding plaintext credentials in Git), and Windows remoting quirks before they cause frustration.

Caution

High-Risk Actions

Alerts you to operations that could cause virtual disk corruption (such as placing virtual machines inside OneDrive or Dropbox synced folders) or unintended state loss.


2. Multi-Node Terminal Conventions (Know Your Context)

Because you will be orchestrating four Windows Server 2025 nodes (DC1, SRV1, SQL1, SQL2) from a Linux Control Node (AC1) alongside your physical Windows workstation, knowing where a command should be run is critical.

Every terminal code block in this course includes context cues in the heading, prompt, or code comments:

Know where every command runs
Host PowerShell, AC1 bash, and Guest PowerShell, each identified by its prompt

Terminal Context Where It Runs Typical Commands
1. Host PowerShell Directly in PowerShell on your physical Windows 11 workstation (C:\Labs\AnsibleFundamentalsforWindowsProfessionals). vagrant up, vagrant status, vagrant halt, vagrant snapshot save clean_slate, vagrant rdp DC1
2. Linux Control Node (AC1) Inside Ubuntu Linux on AC1 (~/ansible-env activated) via vagrant ssh AC1 or the VS Code Remote-SSH terminal. kinit admin_luke@SANDBOX.LOCAL, ansible-lint, ansible windows -m ansible.windows.win_ping, ansible-playbook ansible/playbooks/deploy_ssh_keys.yml
3. Guest Windows Server (DC1, SRV1, SQL1, SQL2) Inside an elevated PowerShell session on a specific Windows VM (vagrant rdp or VMware console). cd C:\vagrant\scripts, .\New-StudentAccounts.ps1 -FirstName "Luke" -LastName "Skywalker"

3. Interactive Visual Components

Take a moment to try the four interactive component types you will use throughout the course:

Example 1: Interactive Pipeline Stepper

Click Next to step through the Active Directory Kerberos authentication and WinRM execution sequence:

Example 2: Interactive Terminal Playback Simulator

Click Play or Replay to preview an Ansible connectivity and idempotency check across all four Windows servers:

Example 3: Architecture & Network Sequence Blueprints

High-resolution architectural diagrams and looping motion blueprints illustrate how packets, Kerberos tickets, and PowerShell payloads move across AC1, DC1, SRV1, SQL1, and SQL2:

WinRM & OpenSSH Execution Handshake
How AC1 authenticates with DC1 (Kerberos KDC) and executes PowerShell modules on SQL1 over WinRM or OpenSSH

Example 4: Interactive Knowledge Check Flashcards

Click the card to flip it and use the arrows to step through the questions:


4. How to Get Help & Unblock Yourself

If you encounter an unexpected error, a YAML syntax question, a WinRM/Kerberos error, or a hypervisor quirk, you have multiple layers of immediate support:

1. Dave AI Lab Assistant (24/7 Technical Companion)

Click the floating Ask Dave drawer in the bottom-right corner of your screen at any time.

  • Dave is trained directly on this course repository, the vagrantfile, Ansible inventories (hosts.ini), course playbooks, and curriculum runbooks.
  • You can paste Ansible error output, ask for help debugging YAML indentation, or clarify Kerberos and WinRM concepts directly with Dave.

Just remember though, Dave is AI and can make mistakes. Help improve Dave by giving him a thumbs up or thumbs down on his responses.

2. Student Q&A Discussion Forum

Beneath every lesson, you will find a dedicated Discussion Forum:

  • Browse previous questions and solutions shared by fellow DBAs and Windows administrators.
  • Post your question or terminal output if you run into an edge case specific to your workstation.
  • I actively monitor and respond to student questions.
Caution

Protect Corporate & Personal Information

Do not post sensitive corporate or personal information within a question. The Q&A is a public forum shared by all students in the course.

3. Course Asset Downloads

Your starter lab archive (AnsibleFundamentalsforWindowsProfessionals.zip) is available for immediate download:

  • From your Student Dashboard (/dashboard).
  • From the Course Overview page (/courses/ansible-fundamentals-for-windows-professionals).
  • Always extract the starter package directly into C:\Labs\AnsibleFundamentalsforWindowsProfessionals (or <Drive>:\Labs\AnsibleFundamentalsforWindowsProfessionals) as detailed in Lesson 2.

4. Troubleshooting & Common Pitfalls

Even with a deterministic lab environment, local Windows firewall rules, corporate VPN clients, or hypervisor network adapters occasionally introduce unexpected quirks. If vagrant up or host networking behaves unexpectedly, consult the Troubleshooting & Common Pitfalls guide from The Enterprise Sandbox Engine course:


5. Essential Rules for Personal Lab Security

Before launching virtual machines on your workstation, keep these two non-negotiable ground rules in mind:

  1. Strictly Non-Sensitive, Synthetic Data Only: This lab runs on your personal workstation and uses well-known training credentials (vagrant). Never import real company data, production database backups, corporate Active Directory credentials, or proprietary internal scripts into this lab. Always use synthetic, sample data.
  2. Never Store Lab VMs in Cloud-Synced Folders: Never place C:\Labs\AnsibleFundamentalsforWindowsProfessionals inside OneDrive, Dropbox, Google Drive, or iCloud synced directories (Desktop, Documents). Cloud sync engines continuously lock active .vmdk virtual disk files and .vagrant state metadata, causing hypervisor I/O freezes and virtual disk corruption.