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 }}" - hosts: "{{ target_hosts }}"
become: true become: true
become_user: stackautomation
tasks: tasks:
- name: Update apt cache - name: Update apt cache
ansible.builtin.apt: ansible.builtin.apt:
update_cache: true update_cache: true
delegate_to: localhost
- name: Upgrade all packages - name: Upgrade all packages
ansible.builtin.apt: ansible.builtin.apt:
upgrade: dist upgrade: dist
autoremove: true autoremove: true
delegate_to: localhost