Install pacman config before doing anything with pacman-key

This commit is contained in:
Jake Howard 2019-05-27 15:25:46 +01:00
parent 9dc75c1bfe
commit d0a4ed7757
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -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