This commit is contained in:
Calvin Steenbergen 2025-04-03 19:25:24 +02:00
parent c71fa4a1d8
commit 1275160419

View file

@ -1,14 +1,13 @@
---
- hosts: "{{ target_hosts }}"
become: true
become_user: stackautomation
tasks:
- name: Update apt cache
ansible.builtin.apt:
update_cache: true
delegate_to: localhost
- name: Upgrade all packages
ansible.builtin.apt:
upgrade: dist
autoremove: true
delegate_to: localhost
autoremove: true