Add archzfs repo.

This commit is contained in:
Tom Alexander
2023-03-01 10:30:54 -05:00
parent 512fb57924
commit 459e9b68cf
5 changed files with 102 additions and 6 deletions

View File

@@ -43,6 +43,24 @@
vars:
sub_query: "results[?stat.path=='{{ item }}'].stat.exists"
- name: Check trusted gpg keys
command: pacman-key -l
register: pacmankeys
changed_when: false
check_mode: no
no_log: true
- name: Trust archzfs signing key
command: pacman-key -a -
args:
stdin: "{{ lookup('file', 'archzfs.gpg') }}"
when: '"DDF7DB817396A49B2A2723F7403BD972F75D9D76" not in pacmankeys.stdout'
register: archzfs_key_imported
- name: Sign archzfs signing key
command: pacman-key --lsign-key "DDF7DB817396A49B2A2723F7403BD972F75D9D76"
when: archzfs_key_imported.changed
- name: Additional pacman configs
copy:
src: "files/{{ item }}"
@@ -52,6 +70,7 @@
group: root
loop:
- freeze_firefox.conf
- archzfs.conf
- name: Install packages
package: