/home/travis/.ansible/roles/robertdebock.update/handlers/main.yml
1
2
3
4
5
6
7
---
# handlers file for update
- name: reboot
  reboot:
  when:
    - update_reboot | bool
    - ansible_connection != "docker"