Le 17/09/2017 à 10:30, misha a écrit : > 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: https://github.com/ansible/ansible/releases) When you read documentation, win_user_right module is in 2.4 version http://docs.ansible.com/ansible/devel/win_user_right_module.html The module win_user,as written in documentation, is in ansible since version 1.7, so since a long time... http://docs.ansible.com/ansible/devel/win_user_module.html So, the first thing to verify is your version of ansible and/or how did you in install it... Regards, JYL -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/481b3455-ca3b-746e-5e60-f8b6b2d27976%40lenhof.eu.org. For more options, visit https://groups.google.com/d/optout.
