Hi all,
I’m trying to run make install on my copy of ansible checked out from source. The make task runs fine, but I ansible is complaining that it can’t find the setup module.
Looking at /usr/local/lib/python2.7/dist-packages/ansible-1.8-py2.7.egg/ansible after running the make task, I cannot find setup.ps1 anywhere.
What I’ve done:
cloned the repo
run git submodule update --init --recursive
In my repo folder, the setup.ps1 file exists in the windows dir inside modules. Am I looking in the wrong place? The exact error I’m getting is:
“module setup not found in configured module paths. Additionally, core modules are missing. If this is a checkout, run ‘git submodule update --init --recursive’ to correct this problem.”
Here’s the output of searching for setup.ps1 and powershell.ps1 if that gives any indication of the issue:
ubuntu@ansible-tower:~/ansible$ sudo find / -name setup.ps1
sudo: unable to resolve host ansible-tower
/home/ubuntu/ansible/v2/ansible/modules/core/windows/setup.ps1
/home/ubuntu/ansible/lib/ansible/modules/core/windows/setup.ps1
/home/ubuntu/ansible-modules-core/windows/setup.ps1
ubuntu@ansible-tower:~/ansible$ sudo find / -name powershell.ps1
sudo: unable to resolve host ansible-tower
/home/ubuntu/ansible/build/lib.linux-x86_64-2.7/ansible/module_utils/powershell.ps1
/home/ubuntu/ansible/lib/ansible/module_utils/powershell.ps1
/usr/local/lib/python2.7/dist-packages/ansible-1.8-py2.7.egg/ansible/module_utils/powershell.ps1
ubuntu@ansible-tower:~/ansible$
What do you have for the output of “ansible --version” ?