sudo not working when user defined as part of a group

21 views
Skip to first unread message

Yves Dorfsman

unread,
May 16, 2015, 11:25:10 AM5/16/15
to ansible...@googlegroups.com
Ubuntu 14.04
Ansible 1.9.1

When I explicitly define a user in the sudoers file, ansible works as expected.

But, when I remove that user from the sudoers file, and add it to the UNIX
group sudo (with `%sudo ALL=(ALL:ALL) ALL` in the sudoers file), the user on
the host is still able to sudo, but the same ansible playbook is now returning
(assuming username yves):

yves is not in the sudoers file. This incident will be reported.

Any idea what's going on?

--
http://yves.zioup.com
gpg: 4096R/32B0F416

Yves Dorfsman

unread,
May 16, 2015, 2:20:29 PM5/16/15
to ansible...@googlegroups.com
Works now, I had not checked the instructions and had not realised there were
git submodules. I have run `git submodule update --init --recursive` and it
solved all my issues.
Reply all
Reply to author
Forward
0 new messages