From 1b4b7df6922f4532175b67c7d0a57e540870ec61 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Mon, 31 Jan 2022 12:43:43 -0500 Subject: [PATCH] Sync and update pacman first Before executing any steps pacman needs to be initiated. Especially important on new systems that haven't had a pacman command run yet. --- playbooks/manjaro.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/playbooks/manjaro.yaml b/playbooks/manjaro.yaml index 204f16e..f6ef582 100644 --- a/playbooks/manjaro.yaml +++ b/playbooks/manjaro.yaml @@ -8,6 +8,13 @@ swap_file_size_mb: 4096 tasks: + # Sync and update Pacman + - name: Sync and update Pacman + community.general.pacman: + update_cache: yes + upgrade: yes + become: yes + # SSH - name: Ensure openssh installed community.general.pacman: