summaryrefslogtreecommitdiff
path: root/roles/installer/debian/base/tasks/main.yml
blob: fdc041193f22187f6e3fdf358110d823ed2dfe4e (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
24
25
26
27
28
---
- 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"

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