Episode 1 – How to configure disks on Windows using Ansible
Learn how to initialize, partition, and format disks on Windows using Ansible in this simple example.
Sign up for the course wait list here – https://www.automatesql.com/ansible
Github repo – https://github.com/automatesql/Ansible-for-SQL-Server-DBAs
Blog Post – https://www.automatesql.com/blog/ansible-by-example-simplifying-sql-server-disk-preparation-on-windows
Lab built using VMware Workstation Pro, Hashicorp Packer, Hashicorp Vagrant, and Ansible. Learn more about building simplified automated labs using these tools at https://www.automatesql.com/asf.
Ansible Docs – https://docs.ansible.com/
Thanks for stopping by!
Contents:
00:00 – Intro
02:15 – Environment overview
04:17 – Ansible inventory files
05:46 – playbook_diskPrep review
10:17 – Running the playbook using ansible-playbook
12:21 – Play recap
13:06 – Disk facts
14:11 – Ansible and idempotency
14:33 – Outtro
windows server