summaryrefslogtreecommitdiff
path: root/roles/installer/debian/base/tasks/main.yml
blob: 119b3670e66b3a53056967d82f8539edb52346a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
- 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 keyring file
  copy:
    src: "{{ global_files_dir }}/common/keyrings/ubuntu-archive.gpg"
    dest: "{{ installer_base_path }}/keyrings/ubuntu-archive.gpg"