From ac2c5f6a07cd4464b86d45c20a8910fcfa0336af Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Wed, 5 Jan 2022 11:50:05 +0100 Subject: [PATCH] Fix: update_cache before installing devel --- roles/arch_aur/tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/arch_aur/tasks/main.yml b/roles/arch_aur/tasks/main.yml index 4bf2548..9089438 100644 --- a/roles/arch_aur/tasks/main.yml +++ b/roles/arch_aur/tasks/main.yml @@ -4,6 +4,7 @@ become: yes ansible.builtin.user: name: aur_builder + system: no create_home: yes group: wheel @@ -16,9 +17,10 @@ validate: 'visudo -cf %s' - name: Install base-devel - pacman: + community.general.pacman: name: base-devel state: present + update_cache: yes # - name: Git clone ansible-aur # git: