become_user: root become: true become_method: sudo On Saturday, October 15, 2016 at 10:30:12 AM UTC+5:30, Kevin Parent wrote: > > Hi guys, I am using: > > - hosts: 127.0.0.1 > connection: local > > to execute command on the ansible host, I disabled privilege escalation > because I would get an error message: > > "module_stderr": "sudo: effective uid is not 0, is /usr/bin/sudo on a file > system with the 'nosuid' option set or an NFS file system without root > privileges? > > Im trying to execute the command: npm install --production. but some of > the packages requires sudo permission to be installed > > So now what? > > :(. > >
-- 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/cb5b802e-fd2d-4736-8459-b70e1fc2bfcb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
