Skip to content
Snippets Groups Projects
Commit 349b22ee authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Merge branch 'th/branding-apt-key' into 'master'

branding: Replace deprecated apt_key module with simple copy

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