enabled timing; improved rpi patch handling
This commit is contained in:
1
ansible.cfg
Normal file → Executable file
1
ansible.cfg
Normal file → Executable file
@ -1,2 +1,3 @@
|
||||
[defaults]
|
||||
inventory=inventory
|
||||
callback_whitelist = profile_tasks
|
||||
0
playbooks/disabled_unattended-upgrades.yml
Normal file → Executable file
0
playbooks/disabled_unattended-upgrades.yml
Normal file → Executable file
9
playbooks/rpi_patches.yml
Normal file → Executable file
9
playbooks/rpi_patches.yml
Normal file → Executable file
@ -8,3 +8,12 @@
|
||||
- name: Apt Upgrade
|
||||
apt:
|
||||
upgrade: safe
|
||||
|
||||
- name: Check if reboot required
|
||||
stat:
|
||||
path: /var/run/reboot-required
|
||||
register: reboot_required_file
|
||||
|
||||
- name: Reboot if required
|
||||
reboot:
|
||||
when: reboot_required_file.stat.exists == true
|
||||
Reference in New Issue
Block a user