Skip to content

Commit

Permalink
different upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
ahelal authored Oct 27, 2016
1 parent af5d886 commit 7778b66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/upgrade_now.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
when: not first_boot_stat.stat.exists or upgrade_now_force

- name: upgrade_now | Reboot now
command: shutdown -r now
shell: sleep 2 && shutdown -r now "Ansible updates triggered"
async: 1
poll: 0
when: require_reboot is defined and require_reboot.stat.exists

- name: upgrade_now | Check and set if ansible_ssh_host is set
Expand Down

0 comments on commit 7778b66

Please sign in to comment.