From d0a4ed7757626669e35f33733603ca011af4563c Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 27 May 2019 15:25:46 +0100 Subject: [PATCH] Install pacman config before doing anything with `pacman-key` --- tasks/packages.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tasks/packages.yml b/tasks/packages.yml index cc6e141..76ae9de 100644 --- a/tasks/packages.yml +++ b/tasks/packages.yml @@ -5,6 +5,12 @@ - '9D5F1C051D146843CDA4858BDE64825E7CBC0D51' # ArchStrike - '748231EBCBD808A14F5E85D28C004C2F93481F6B' # Opensnitch +- name: Install pacman config + copy: + src: ./files/pacman.conf + dest: /etc/pacman.conf + mode: 0644 + - name: "Get installed pacman keys" shell: "pacman-key --list-keys" register: pacman_keys @@ -32,12 +38,6 @@ when: "item not in known_gpg_keys.stdout" with_items: "{{ keys }}" -- name: Install pacman config - copy: - src: ./files/pacman.conf - dest: /etc/pacman.conf - mode: 0644 - - name: Create aur_builder user user: name: aur_builder