summaryrefslogtreecommitdiff
path: root/roles/installer/debian/base/tasks/main.yml
blob: 56ca7dc0db0d04b374b6b5830a4e0af35b8242f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
- name: install gpgv
  apt:
    name: gpgv
    state: present

- name: prepare directory keyrings
  file:
    name: "{{ installer_base_path }}/keyrings"
    state: directory

- name: copy debian keyring files
  loop: "{{ lookup('fileglob', global_files_dir+'/common/keyrings/debian-*.gpg', wantlist=True) }}"
  loop_control:
    label: "{{ item | basename }}"
  copy:
    src: "{{ item }}"
    dest: "{{ installer_base_path }}/keyrings/{{ item | basename }}"

- name: copy ubuntu archive keyring file
  copy:
    src: "{{ global_files_dir }}/common/keyrings/ubuntu-archive.gpg"
    dest: "{{ installer_base_path }}/keyrings/ubuntu-archive.gpg"