Files
ansible-semaphore/playbooks/apt2-update.yml
2024-03-06 10:56:21 +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