From ae9655879275dac03f077b92d665ebea49052cc8 Mon Sep 17 00:00:00 2001 From: Joachim Hummel Date: Wed, 25 Oct 2023 15:55:13 +0000 Subject: [PATCH] Edit Files --- apt-update.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apt-update.yml b/apt-update.yml index bf21960..30396ba 100644 --- a/apt-update.yml +++ b/apt-update.yml @@ -1,9 +1,8 @@ - hosts: all - sudo: yes vars: ansible_host_key_checking: false ##If you get an error about hosts not trusted - become: true become_user: root + become: true tasks: - name: Update apt repo and cache on all Debian/Ubuntu boxes apt: update_cache=yes force_apt_get=yes cache_valid_time=3600