Browse Source

reboot

master
parent
commit
810a08077a
2 changed files with 5 additions and 0 deletions
  1. +1
    -0
      defaults/main.yaml
  2. +4
    -0
      tasks/main.yaml

+ 1
- 0
defaults/main.yaml View File

@@ -1,2 +1,3 @@
---
unattended_upgrades: true
reboot_after_updates: false

+ 4
- 0
tasks/main.yaml View File

@@ -15,3 +15,7 @@
when:
- unattended_upgrades
- not ansible_bender is defined

- name: reboot after updates
reboot:
when: reboot_after_updates

Loading…
Cancel
Save