
This can be used to patch-on-demand software after security vulnerabilities. Change-Id: I18b85de45c6790cea259d7c639b3052d0cbffdac
7 lines
166 B
YAML
7 lines
166 B
YAML
- hosts: all
|
|
gather_facts: true
|
|
tasks:
|
|
- name: run unattended upgrades
|
|
shell: apt-get update && unattended-upgrade
|
|
when: ansible_os_family == "Debian"
|