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 - name: Import WeeChat GPG key
become: true become: true
ansible.builtin.get_url: ansible.builtin.apt_key:
url: "https://keys.openpgp.org/vks/v1/by-fingerprint/{{ weechat__gpg_id }}" keyserver: "hkps://keys.openpgp.org"
dest: '/usr/share/keyrings/weechat-archive-keyring.gpg' id: "{{ weechat__gpg_id }}"
owner: 'root' keyring: '/usr/share/keyrings/weechat-archive-keyring.gpg'
group: 'root' state: 'present'
mode: '0644'
- name: Add weechat repo - name: Add weechat repo
become: true become: true

View file

@ -9,7 +9,7 @@ weechat_plugin_languages:
lua: 'lua' lua: 'lua'
# version management # 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' playbook_version_path: 'role-weechat_roles-ansible_github.com.version'
weechat__debian_weechat_repo: "https://weechat.org/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} main" weechat__debian_weechat_repo: "https://weechat.org/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} main"