Introduction to Ansible Transcripts
Chapter: Development Environment Configuration
Lecture: Options for Using Ansible on Windows
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Ansible was originally designed for Linux-based systems. And while Windows support has gotten much better for managing remote machines
0:07
it's strongly recommended that you do not run Ansible under Windows as your control machine. There's simply no support by Red Hat
0:14
or Microsoft in order to execute Ansible properly and not run into major issues. That said, a lot of people are running Windows machines.
0:21
So here's the two possible routes you can take if you really want to get Ansible up and running and you have to use Windows as your base installation.
0:29
My first recommendation is to use a virtual machine like VirtualBox if you want to go the free route or VMware works as well, in order to virtualize
0:38
Linux on top of Windows. Right now, I recommend using Ubuntu 18.04 LTS which was released in April 2018 and will be supported for the next five years.
0:47
If you download VirtualBox you can then install Ubuntu start that up and then follow the instructions in the next video for configuring
0:54
your Linux environment to run Ansible. A much newer way to run Ansible on Windows is to use the Windows Subsystem for Linux.
1:01
This is actually going to be similar to running a virtual machine, but it's a new edition of Windows 10 that allows
1:07
you to install a Linux distribution of your choice and then use it from within Windows. Either one of these routes will get you
1:12
to the same destination, which is to have a Linux system that is running within Windows that you can use as your control environment for Ansible.
1:20
Once you either have VirtualBox running with Ubuntu or the Linux sub-system running with Ubuntu, take a look at the video for
1:27
configuring your Ubuntu Linux development environment.