Fix building ZFS on linux.
This commit is contained in:
parent
7f47b1ca1b
commit
ec72d20455
@ -4,3 +4,6 @@ use-standard-socket
|
||||
default-cache-ttl 600
|
||||
max-cache-ttl 7200
|
||||
display :0
|
||||
{% if install_graphics and os_flavor == "freebsd" %}
|
||||
pinentry-program /usr/local/bin/pinentry-qt5
|
||||
{% endif %}
|
||||
|
@ -4,6 +4,20 @@
|
||||
- linux-lts-headers
|
||||
state: present
|
||||
|
||||
- name: Check trusted gpg keys
|
||||
become_user: "{{ build_user.name }}"
|
||||
command: gpg --list-public-keys --keyid-format LONG
|
||||
register: gpgkeys
|
||||
changed_when: false
|
||||
check_mode: no
|
||||
|
||||
- name: Trust ZFS key
|
||||
when: "item not in gpgkeys.stdout"
|
||||
become_user: "{{ build_user.name }}"
|
||||
command: "gpg --recv-key '{{ item }}'"
|
||||
loop:
|
||||
- "0AB9E991C6AF658B"
|
||||
|
||||
- name: Build aur packages
|
||||
register: buildaur
|
||||
become_user: "{{ build_user.name }}"
|
||||
|
Loading…
Reference in New Issue
Block a user