Files
ansible-semaphore/apt2-update.yml
Joachim Hummel dcbe54664d Edit Apt-File
2023-10-26 14:34:44 +00:00

13 lines
259 B
YAML

---
- hosts: all
vars:
ansible_host_key_checking: false ##If you get an error about hosts not trusted
become: true
tasks:
- name: Update all packages to their latest version
ansible.builtin.apt:
name: "*"
state: latest