From c208c0748d7427a043452fa18a7708f0e0cce98e Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sat, 4 Mar 2023 08:46:48 -0500 Subject: [PATCH] Do not needlessly update pacman cache in build role. This was causing an always-yellow step. --- ansible/roles/build/tasks/linux.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ansible/roles/build/tasks/linux.yaml b/ansible/roles/build/tasks/linux.yaml index 9b5ed2f..caa5271 100644 --- a/ansible/roles/build/tasks/linux.yaml +++ b/ansible/roles/build/tasks/linux.yaml @@ -5,16 +5,15 @@ become_user: "{{ build_user.name }}" - name: Install packages - pacman: + package: name: - base-devel - gnupg - devtools # Creates /usr/share/devtools/makepkg-x86_64.conf and provides mkarchroot - base-devel - - vifm - - vim + - vifm # For aurutils + - vim # For aurutils state: present - update_cache: true - name: Extract aurutils aur entry become_user: "{{ build_user.name }}"