fix apt gpg keys after rebase from unstable
This commit is contained in:
parent
58cd1fedfa
commit
b5bcd666c6
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
- name: Elastic sources list is available
|
- name: Elastic sources list is available
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "deb [signed-by=/usr/share/keyrings/elastic.gpg] https://artifacts.elastic.co/packages/{{ elastic_stack_version | mandatory }}/apt stable main"
|
repo: "deb https://artifacts.elastic.co/packages/{{ elastic_stack_version | mandatory }}/apt stable main"
|
||||||
filename: elastic
|
filename: elastic
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
|
@ -1,16 +1,24 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
# https://wiki.debian.org/DebianRepository/UseThirdParty
|
# https://wiki.debian.org/DebianRepository/UseThirdParty
|
||||||
- name: Add MongoDB GPG key for version 4.4
|
- name: MongoDB embedded GPG key is absent
|
||||||
|
apt_key:
|
||||||
|
id: "B8612B5D"
|
||||||
|
keyring: /etc/apt/trusted.gpg
|
||||||
|
state: absent
|
||||||
|
|
||||||
|
- name: Add MongoDB GPG key
|
||||||
copy:
|
copy:
|
||||||
src: server-4.4.gpg
|
src: server-4.4.asc
|
||||||
dest: /usr/share/keyrings/mongodb-server-4.4.gpg
|
dest: /etc/apt/trusted.gpg.d/mongodb-server-4.4.asc
|
||||||
force: yes
|
force: yes
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
|
||||||
- name: enable APT sources list
|
- name: enable APT sources list
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: deb [signed-by=/usr/share/keyrings/mongodb-server-4.4.gpg] http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main
|
repo: deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main
|
||||||
state: present
|
state: present
|
||||||
filename: mongodb-org-4.4
|
filename: mongodb-org-4.4
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
Loading…
Reference in a new issue