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.
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.
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.