enabled timing; improved rpi patch handling

This commit is contained in:
2021-05-21 10:13:26 +02:00
parent e647019b55
commit 5260f77b05
4 changed files with 46 additions and 36 deletions

1
ansible.cfg Normal file → Executable file
View File

@ -1,2 +1,3 @@
[defaults]
inventory=inventory
callback_whitelist = profile_tasks

0
playbooks/disabled_unattended-upgrades.yml Normal file → Executable file
View File

9
playbooks/rpi_patches.yml Normal file → Executable file
View 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