About
Ansible is not certified on Windows and will never. The best solution that we found was to run Ansible inside a docker container.
Articles Related
Steps
To install it:
Create the install directory
mkdir c:\ansible
Clone the repository
Clone the repository into the install directory
git clone https://github.com/gerardnico/ansible c:\ansible
Install Docker for Windows
Test Ansible
By asking the version, the Ansible wrapper should download the docker image and print the version at the console.
ansible --version
Ansible Version: 2.8
ansible 2.8.10
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/ansible/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/dist-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.12 (default, Oct 8 2019, 14:14:10) [GCC 5.4.0 20160609]
Add the install directory into the PATH environment variable
To be able to run the ansible command line client from anywhere you would add the installation directory to your PATH environment variable