rpi patching zu ansible umgezogen
This commit is contained in:
7
playbooks/disabled_unattended-upgrades.yml
Normal file
7
playbooks/disabled_unattended-upgrades.yml
Normal file
@ -0,0 +1,7 @@
|
||||
- hosts: rpi
|
||||
become: yes
|
||||
tasks:
|
||||
- name: unattended-upgrades
|
||||
apt:
|
||||
state: absent
|
||||
autoremove: yes
|
||||
@ -1,6 +0,0 @@
|
||||
- hosts: rpi
|
||||
tasks:
|
||||
- name: Rebooting
|
||||
become: yes
|
||||
reboot:
|
||||
reboot_timeout: 600
|
||||
10
playbooks/rpi_patches.yml
Normal file
10
playbooks/rpi_patches.yml
Normal file
@ -0,0 +1,10 @@
|
||||
- hosts: rpi
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Apt Update
|
||||
apt:
|
||||
update_cache: yes
|
||||
|
||||
- name: Apt Upgrade
|
||||
apt:
|
||||
upgrade: safe
|
||||
Reference in New Issue
Block a user