Playbook to run upgrades
This can be used to patch-on-demand software after security vulnerabilities. Change-Id: I18b85de45c6790cea259d7c639b3052d0cbffdac
This commit is contained in:
parent
a919e34237
commit
edc2f0e046
6
playbooks/attended_upgrades.yml
Normal file
6
playbooks/attended_upgrades.yml
Normal file
@ -0,0 +1,6 @@
|
||||
- hosts: all
|
||||
gather_facts: true
|
||||
tasks:
|
||||
- name: run unattended upgrades
|
||||
shell: apt-get update && unattended-upgrade
|
||||
when: ansible_os_family == "Debian"
|
Loading…
Reference in New Issue
Block a user