
It runs unattended upgrades, thus the filename should reflect that. Change-Id: I837f863e67b705d2ccea01ccfba2ce7850b229f0
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"
|