Module maintained by Ansible Community missing ?

Hello to everyone!

I try executing ad-hoc command such as:

ansible windows -m win_user_right -a 'name=SeDenyRemoteInteractiveLogonRight users=MY_USER action=set'

but I get this error:
The module win_user_right was not found in configured module paths. Additionally, core modules are missing. If this is a checkout, run ‘git pull --rebase’ to correct this problem.

I have to mention that I execute successfully the “win_user” module prior to this ( which is an ansible team maintained module )

ansible windows -m win_user -a 'name=MY_USER password=MY_PASS state=present groups=Administrators'

What is the issue exactly here? To me it looks like the win_user_right module is missing, any clues ?

Hi, A guess, you’re using a packaged version of ansible which version is < 2.4 (2.4 is in release candidate for now, see: ) When you read documentation, win_user_right module is in 2.4 version The module win_user,as written in documentation, is in ansible since version 1.7, so since a long time… So, the first thing to verify is your version of ansible and/or how did you in install it… Regards, JYL

Poor me, I assumed modules are there, once I install via Yum. Thank you for big help!

So i solved this by deploying/building from source.

yum install asciidoc
yum install python2-devel

git clone git://github.com/ansible/ansible.git
cd /etc/ansible

make rpm

yum install python2-cryptography
sudo rpm -Uvh /etc/ansible/rpm-build/ansible-*.noarch.rpm