sudo not working for me (Mac OS X Mavericks)

21 views
Skip to first unread message

Michael Martinez

unread,
Jul 5, 2014, 11:50:32 AM7/5/14
to ansible...@googlegroups.com
I am a new ansible user and I can not get the sudo option working for me.

To keep things simple, I am just trying a simple command:     "shutdown -r now"

In ansible, I am entering it as:  ansible system_name -a "shutdown -r now" --sudo  -sudo-user myAdminUser

I have tried this many ways and can not get it working.

Mauricio Tavares

unread,
Jul 7, 2014, 9:56:00 AM7/7/14
to ansible...@googlegroups.com
Anything in the Mac's log files (system.log and secure.log)? The
Mac also have a console gui that shows all the log files.

> --
> 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 ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/8e60e4ec-9e25-4b27-81c4-52fbd746a98e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages