I installed Ansible on windows server 2012 via python 3.7 (follow by instructions of this post: https://stackoverflow.com/a/52614973/7098543).
But, I got error: No module named ansible.main. How can I solve it?
I know that Ansible does not support to install control machine on Windows. But, I have to use Windows server 2012.
After I installed Ansible (version: 2.7.10) via python 3.7, I try to run:
python -m ansible --version
I got error: No module named ansible.main; 'ansible' is a package and cannot be directly executed.
Any workaround? Please help.