summaryrefslogtreecommitdiff
path: root/roles/spreadspace-apt-repo/tasks/main.yaml
blob: 9434ae4d586c138c4f7f99e0ca42954ac1cda93b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- name: install apt https transport
  apt:
    name: apt-transport-https
    state: present

- name: add repository key
  apt_key:
    data: "{{ lookup('file', 'repo.asc') }}"
    state: present

- name: add repository entry
  apt_repository:
    repo: deb https://build.spreadspace.org/ {{ ansible_distribution_release }} main
    state: present
    filename: spreadspace