summaryrefslogtreecommitdiff
path: root/roles/apt-repo/spreadspace/tasks/main.yml
blob: 0b3f3cd6dffb3393f6d4b6a763bc337c8b35f5e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- name: add repository key
  copy:
    src: repo.gpg
    dest: /etc/apt/trusted.gpg.d/spreadspace.gpg
  notify: update apt cache

- name: add repository entry
  copy:
    content: |
      deb https://build.spreadspace.org/ {{ ansible_distribution_release }} main
    dest: /etc/apt/sources.list.d/spreadspace.list
  notify: update apt cache

- name: update apt cache
  meta: flush_handlers