rpi patching zu ansible umgezogen

This commit is contained in:
Krumel
2021-05-19 20:29:49 +02:00
parent 23824c0d52
commit 181ea5a24a
3 changed files with 17 additions and 6 deletions

View File

@ -0,0 +1,7 @@
- hosts: rpi
become: yes
tasks:
- name: unattended-upgrades
apt:
state: absent
autoremove: yes

View File

@ -1,6 +0,0 @@
- hosts: rpi
tasks:
- name: Rebooting
become: yes
reboot:
reboot_timeout: 600

10
playbooks/rpi_patches.yml Normal file
View File

@ -0,0 +1,10 @@
- hosts: rpi
become: yes
tasks:
- name: Apt Update
apt:
update_cache: yes
- name: Apt Upgrade
apt:
upgrade: safe