On Monday, June 8, 2015 at 11:22:11 AM UTC-5, benno joy wrote: > > try this: > > - name: Restart server > shell: " sleep 3; shutdown -r now" > async: 1 > poll: 0 > ignore_errors: true > > Is there a simple way to use 'shutdown -r 22:00' in a playbook to schedule a reboot in the future? Or is it necessary to wrap the command in nohup and &? Thanks!
-- 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/af28f230-78ba-415b-8d73-f50d1d7fd208%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
