1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_weechat.git synced 2024-08-16 13:09:48 +02:00

Improve gpg key import

This commit is contained in:
L3D 2023-10-30 01:59:23 +01:00
parent 2d7fba3084
commit b25fff3507
No known key found for this signature in database
GPG key ID: AD65B920933B4B20
2 changed files with 6 additions and 7 deletions

View file

@ -34,12 +34,11 @@
- name: Import WeeChat GPG key
become: true
ansible.builtin.get_url:
url: "https://keys.openpgp.org/vks/v1/by-fingerprint/{{ weechat__gpg_id }}"
dest: '/usr/share/keyrings/weechat-archive-keyring.gpg'
owner: 'root'
group: 'root'
mode: '0644'
ansible.builtin.apt_key:
keyserver: "hkps://keys.openpgp.org"
id: "{{ weechat__gpg_id }}"
keyring: '/usr/share/keyrings/weechat-archive-keyring.gpg'
state: 'present'
- name: Add weechat repo
become: true

View file

@ -9,7 +9,7 @@ weechat_plugin_languages:
lua: 'lua'
# version management
playbook_version_number: 4224 # should be over ninethousand
playbook_version_number: 4225 # should be over ninethousand
playbook_version_path: 'role-weechat_roles-ansible_github.com.version'
weechat__debian_weechat_repo: "https://weechat.org/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} main"