Here's how I do it: https://github.com/analytically/hadoop-ansible/blob/master/roles/2_aggregated_links/tasks/main.yml
On Sunday, 29 December 2013 14:16:59 UTC, @volanja wrote: > > Hi Rella. > > Please refer to it. > It is old thread that talking about reboot. > > https://groups.google.com/forum/#!msg/ansible-project/9KVUY8yBKww/FHnX6FUvrH8J > > And I wrote sample-code about reboot, But it's japanese.. > http://qiita.com/volanja/items/d38fe0678848bae6902f#2-6 > > volanja > > > 2013年12月27日金曜日 9時05分58秒 UTC+9 @volanja: >> >> Hi Rella. >> >> Please test this code. >> Reboot is background process. >> So, not pending. >> >> - name: reboot >> shell: sleep 2s && /sbin/reboot & >> >> -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
