mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-24 08:18:03 +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
|