configurations-ansible/roles/unattended-upgrades/tasks/main.yml

7 lines
212 B
YAML

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