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:
parent
2d7fba3084
commit
b25fff3507
2 changed files with 6 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue