ansible-development-environ.../roles/update/handlers/main.yml

8 lines
128 B
YAML

---
# handlers file for update
- name: reboot
reboot:
when:
- update_reboot | bool
- ansible_connection != "docker"