configurations-ansible/roles/unattended-upgrades/tasks/main.yml
2022-11-19 12:00:43 +01:00

9 lines
249 B
YAML

---
# tasks file for unattended-upgrades
- name: Check if host need unattended-upgrades
when: "unattended_upgrades_enabled is true"
block:
- name: Install unattended-upgrades
ansible.builtin.package:
name: unattended-upgrades