Skip to content
Snippets Groups Projects
Verified Commit 932901ca authored by David Mehren's avatar David Mehren
Browse files

Use deb822_repository module to deploy APT repo

parent 90fca17f
No related branches found
No related tags found
No related merge requests found
Pipeline #220100 failed
...@@ -8,15 +8,14 @@ ...@@ -8,15 +8,14 @@
- apt-transport-https - apt-transport-https
- ca-certificates - ca-certificates
- name: Install Gitlab Runner key
ansible.builtin.apt_key:
url: "https://packages.gitlab.com/runner/gitlab-runner/gpgkey"
state: present
- name: Add Gitlab Runner repo - name: Add Gitlab Runner repo
ansible.builtin.apt_repository: ansible.builtin.deb822_repository:
repo: "deb https://packages.gitlab.com/runner/gitlab-runner/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release }} main" name: gitlab
state: present types: deb
uris: "https://packages.gitlab.com/runner/gitlab-runner/{{ ansible_distribution | lower }}"
suites: '{{ ansible_distribution_release }}'
components: main
signed_by: https://packages.gitlab.com/runner/gitlab-runner/gpgkey
- name: Install Gitlab Runner - name: Install Gitlab Runner
ansible.builtin.apt: ansible.builtin.apt:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment