12 lines
285 B
YAML
12 lines
285 B
YAML
# An Ansible playbook to install the latest updates on a (debian) Linux system
|
|
---
|
|
- hosts: '!localhost'
|
|
gather_facts: false
|
|
become: true
|
|
tasks:
|
|
- name: Update all packages to their latest version
|
|
apt:
|
|
name: '*'
|
|
state: latest
|
|
update_cache: yes
|
|
|