system-config/playbooks/attended_upgrades.yml
Spencer Krum edc2f0e046 Playbook to run upgrades
This can be used to patch-on-demand software after security
vulnerabilities.

Change-Id: I18b85de45c6790cea259d7c639b3052d0cbffdac
2016-07-18 15:41:34 -07:00

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"