Stop doing anything with pacman keys
It's just far more hassle than it's worth. And yay deals with most of that for you now!
This commit is contained in:
parent
b522f63cc1
commit
35a0142e31
1 changed files with 0 additions and 25 deletions
|
@ -1,34 +1,9 @@
|
||||||
- name: Define keys for pacman
|
|
||||||
set_fact:
|
|
||||||
keys:
|
|
||||||
- 1EDDE2CDFC025D17F6DA9EC0ADAE6AD28A8F901A # Sublime Text
|
|
||||||
- 9D5F1C051D146843CDA4858BDE64825E7CBC0D51 # ArchStrike
|
|
||||||
|
|
||||||
- name: Install pacman config
|
- name: Install pacman config
|
||||||
template:
|
template:
|
||||||
src: ./files/pacman.conf
|
src: ./files/pacman.conf
|
||||||
dest: /etc/pacman.conf
|
dest: /etc/pacman.conf
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|
||||||
- name: Add keys to pacman
|
|
||||||
shell: pacman-key -r {{ item }}
|
|
||||||
loop: "{{ keys }}"
|
|
||||||
|
|
||||||
- name: Sign keys in pacman
|
|
||||||
shell: pacman-key --lsign-key {{ item }}
|
|
||||||
loop: "{{ keys }}"
|
|
||||||
|
|
||||||
- name: Add keys to local keyring
|
|
||||||
shell: gpg --recv-keys {{ item }}
|
|
||||||
become: true
|
|
||||||
become_user: "{{ user }}"
|
|
||||||
loop: "{{ keys }}"
|
|
||||||
|
|
||||||
- name: Add tor browser key
|
|
||||||
shell: gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
|
|
||||||
become: true
|
|
||||||
become_user: "{{ user }}"
|
|
||||||
|
|
||||||
- name: Create aur_builder user
|
- name: Create aur_builder user
|
||||||
user:
|
user:
|
||||||
name: aur_builder
|
name: aur_builder
|
||||||
|
|
Loading…
Reference in a new issue