Commit 084e0156 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

branding: Replace deprecated apt_key module with simple copy

parent ed195817
Pipeline #4196 passed with stage
in 37 seconds
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment