Skip to content

Instantly share code, notes, and snippets.

@avoidik
Last active February 22, 2019 16:17
Show Gist options
  • Save avoidik/e041c8af5def9c689a46cac01aa40c92 to your computer and use it in GitHub Desktop.
Save avoidik/e041c8af5def9c689a46cac01aa40c92 to your computer and use it in GitHub Desktop.
Install Ansible on Windows
  • visual studio is required (here)
  • python for windows is required
  • from command-line (check path to stdint.h)
set CL=-FI"%VCINSTALLDIR%\Tools\MSVC\14.10.25017\include\stdint.h"
pip install ansible==2.2.2.0
  • in case of error copy rc.exe and rcdll.dll into proper bin folder (depends on architecture, for example bin\x86_amd64), in my case this was:
copy C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x64\rc.exe C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\
copy C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x64\rcdll.dll C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment