Skip to content

Commit

Permalink
Merge pull request #5 from Rosa-Luxemburgstiftung-Berlin/fix-apt-key-…
Browse files Browse the repository at this point in the history
…handling

use state of the art method to register 3party repos for debian based distros
  • Loading branch information
zerwes authored Jan 29, 2024
2 parents daf4cef + d5e859e commit 6dd689b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@
- name: openproject apt key
ansible.builtin.get_url:
url: https://dl.packager.io/srv/opf/openproject/key
dest: /etc/apt/trusted.gpg.d/packager-io.asc
dest: /usr/share/keyringspackager-io.asc
mode: "0644"

- name: openproject apt repo for debian
ansible.builtin.apt_repository:
repo: deb https://dl.packager.io/srv/deb/opf/openproject/stable/{{ openproject_main_version }}/{{ ansible_distribution.lower() }} {{ ansible_distribution_major_version }} main
repo: deb [signed-by=/usr/share/keyringspackager-io.asc] https://dl.packager.io/srv/deb/opf/openproject/stable/{{ openproject_main_version }}/{{ ansible_distribution.lower() }} {{ ansible_distribution_major_version }} main
filename: openproject
when: ansible_distribution == 'Debian'

- name: openproject apt repo for ubuntu
ansible.builtin.apt_repository:
repo: deb https://dl.packager.io/srv/deb/opf/openproject/stable/{{ openproject_main_version }}/{{ ansible_distribution.lower() }} {{ ansible_distribution_version }} main
repo: deb [signed-by=/usr/share/keyringspackager-io.asc] https://dl.packager.io/srv/deb/opf/openproject/stable/{{ openproject_main_version }}/{{ ansible_distribution.lower() }} {{ ansible_distribution_version }} main
filename: openproject
when: ansible_distribution == 'Ubuntu'

Expand Down

0 comments on commit 6dd689b

Please sign in to comment.