Skip to content
Snippets Groups Projects
Commit 084e0156 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

branding: Replace deprecated apt_key module with simple copy

parent ed195817
No related branches found
No related tags found
1 merge request!7branding: Replace deprecated apt_key module with simple copy
Pipeline #4196 passed
......@@ -80,19 +80,14 @@
- branding
- tls
- name: install gpg to install the apt_key
apt:
name: gnupg
state: present
tags:
- branding
- repos
- name: ensure deployment of apt repository keys
apt_key:
data: "{{ lookup('file', item) }}"
state: present
with_items: "{{ branding_apt_keys }}"
copy:
src: "{{ item }}"
dest: "/etc/apt/trusted.gpg.d/{{ item|basename }}"
owner: root
group: root
mode: "0644"
loop: "{{ branding_apt_keys }}"
when: branding_apt_keys is defined
notify:
- update apt cache
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment