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. -- 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/8e60e4ec-9e25-4b27-81c4-52fbd746a98e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
