From 1275160419c536eb2560adfd695b56af9ce1c822 Mon Sep 17 00:00:00 2001 From: Calvin Steenbergen Date: Thu, 3 Apr 2025 19:25:24 +0200 Subject: [PATCH] edit --- linux-update.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/linux-update.yaml b/linux-update.yaml index 6896a68..97f763c 100644 --- a/linux-update.yaml +++ b/linux-update.yaml @@ -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 \ No newline at end of file + autoremove: true \ No newline at end of file