ansible-playbooks/ubuntu/roles/package-update/tasks/main.yml

6 lines
169 B
YAML

---
# This role updates packages and performs autoremove
- name: Update apt cache and then packages with autoremove
apt: update_cache=yes upgrade=safe autoremove=yes