Commit 8901cf42 authored by Jürgen Haas's avatar Jürgen Haas
Browse files

ansible-playbooks/general#85 Linting

parent 57a8da20
......@@ -5,27 +5,29 @@
---
# file: roles/gitlab-runner/tasks/main.yml
- name: "GitLab Runner Role"
set_fact: role_gitlab_runner_started=true
tags: 'always'
- name: GitLab Runner Role
set_fact:
role_gitlab_runner_started: yes
tags:
- always
- block:
- name: "Apt Key"
- name: Apt Key
apt_key:
url: 'https://packages.gitlab.com/runner/gitlab-runner/gpgkey'
url: https://packages.gitlab.com/runner/gitlab-runner/gpgkey
state: present
- name: "Apt Repository"
- name: Apt Repository
apt_repository:
repo: 'deb https://packages.gitlab.com/runner/gitlab-runner/ubuntu/ {{ ansible_distribution_release }} main'
state: 'present'
mode: '644'
repo: deb https://packages.gitlab.com/runner/gitlab-runner/ubuntu/ {{ ansible_distribution_release }} main
state: present
mode: 644
- name: "Install GitLab Runner"
- name: Install GitLab Runner
apt:
pkg: 'gitlab-runner'
state: 'present'
pkg: gitlab-runner
state: present
update_cache: yes
when: '"gitlab-runner" not in excluded_roles'
when: not excluded_roles or "gitlab-runner" not in excluded_roles
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment