mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-12-22 14:01:58 +01:00
11 lines
225 B
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
|