From d249700ee3c3f635b7c8e9ed9e96818a168a270b Mon Sep 17 00:00:00 2001 From: Joachim Hummel Date: Wed, 25 Oct 2023 09:04:00 +0000 Subject: [PATCH] File added --- apt2-update.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apt2-update.yml b/apt2-update.yml index d1696f9..13030b6 100644 --- a/apt2-update.yml +++ b/apt2-update.yml @@ -1,10 +1,12 @@ --- + - hosts: all - + vars: + ansible_host_key_checking: false ##If you get an error about hosts not trusted become: true tasks: - - name: APT Package Updater + - name: Update and upgrade apt packages apt: - upgrade: yes update_cache: yes + upgrade: yes