Install pacman config before doing anything with pacman-key
This commit is contained in:
parent
9dc75c1bfe
commit
d0a4ed7757
1 changed files with 6 additions and 6 deletions
|
@ -5,6 +5,12 @@
|
||||||
- '9D5F1C051D146843CDA4858BDE64825E7CBC0D51' # ArchStrike
|
- '9D5F1C051D146843CDA4858BDE64825E7CBC0D51' # ArchStrike
|
||||||
- '748231EBCBD808A14F5E85D28C004C2F93481F6B' # Opensnitch
|
- '748231EBCBD808A14F5E85D28C004C2F93481F6B' # Opensnitch
|
||||||
|
|
||||||
|
- name: Install pacman config
|
||||||
|
copy:
|
||||||
|
src: ./files/pacman.conf
|
||||||
|
dest: /etc/pacman.conf
|
||||||
|
mode: 0644
|
||||||
|
|
||||||
- name: "Get installed pacman keys"
|
- name: "Get installed pacman keys"
|
||||||
shell: "pacman-key --list-keys"
|
shell: "pacman-key --list-keys"
|
||||||
register: pacman_keys
|
register: pacman_keys
|
||||||
|
@ -32,12 +38,6 @@
|
||||||
when: "item not in known_gpg_keys.stdout"
|
when: "item not in known_gpg_keys.stdout"
|
||||||
with_items: "{{ keys }}"
|
with_items: "{{ keys }}"
|
||||||
|
|
||||||
- name: Install pacman config
|
|
||||||
copy:
|
|
||||||
src: ./files/pacman.conf
|
|
||||||
dest: /etc/pacman.conf
|
|
||||||
mode: 0644
|
|
||||||
|
|
||||||
- name: Create aur_builder user
|
- name: Create aur_builder user
|
||||||
user:
|
user:
|
||||||
name: aur_builder
|
name: aur_builder
|
||||||
|
|
Loading…
Reference in a new issue