turned reboot into a handler

This commit is contained in:
John
2020-07-30 13:32:00 -02:30
parent 01de3488a2
commit 022bf9440f
2 changed files with 5 additions and 8 deletions

View File

@@ -8,6 +8,9 @@
- role: download
- role: raspbian
- role: ubuntu
handlers:
- name: reboot
reboot:
- hosts: master
become: yes