ansible/playbooks/system/update.yaml

11 lines
225 B
YAML

---
- name: Update system
hosts: servers
gather_facts: false
become: true
tasks:
- name: Update packages
ansible.builtin.apt:
upgrade: true
update_cache: true
cache_valid_time: 86400