scripts/ci: modify gitlab runner deb setup
Both Debian and Ubuntu are setup the same way. Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Message-ID: <20251027110344.2289945-7-alex.bennee@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
parent
e1bbb4c62e
commit
900a5ecf0a
1 changed files with 3 additions and 3 deletions
|
|
@ -56,12 +56,12 @@
|
|||
url: "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh"
|
||||
mode: 0755
|
||||
when:
|
||||
- ansible_facts['distribution'] == 'Ubuntu'
|
||||
- ansible_facts['distribution'] in ['Ubuntu', 'Debian']
|
||||
|
||||
- name: Run gitlab-runner repo setup script (DEB)
|
||||
shell: "/root/script.deb.sh"
|
||||
when:
|
||||
- ansible_facts['distribution'] == 'Ubuntu'
|
||||
- ansible_facts['distribution'] in ['Ubuntu', 'Debian']
|
||||
|
||||
- name: Install gitlab-runner (DEB)
|
||||
ansible.builtin.apt:
|
||||
|
|
@ -69,7 +69,7 @@
|
|||
update_cache: yes
|
||||
state: present
|
||||
when:
|
||||
- ansible_facts['distribution'] == 'Ubuntu'
|
||||
- ansible_facts['distribution'] in ['Ubuntu', 'Debian']
|
||||
|
||||
# RPM setup
|
||||
- name: Get gitlab-runner repo setup script (RPM)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue