test: fix fqcn typo
This commit is contained in:
parent
5ed001d64e
commit
0ee4ef794b
3 changed files with 13 additions and 7 deletions
|
@ -10,3 +10,8 @@
|
|||
token: TesT
|
||||
executor: docker
|
||||
state: absent
|
||||
|
||||
pre_tasks:
|
||||
- name: update apt cache
|
||||
ansible.builtin.apt:
|
||||
update_cache: true
|
||||
|
|
|
@ -17,6 +17,6 @@ platforms:
|
|||
lint: |
|
||||
set -e
|
||||
yamllint .
|
||||
ansible-lint
|
||||
ansible-lint .
|
||||
verifier:
|
||||
name: testinfra
|
||||
|
|
|
@ -1,23 +1,24 @@
|
|||
---
|
||||
- name: add gpg key
|
||||
apt_key:
|
||||
ansible.builtin.apt_key:
|
||||
url: https://packages.gitlab.com/runner/gitlab-runner/gpgkey
|
||||
tags: gitlab-runner
|
||||
|
||||
- name: add repository
|
||||
apt_repository:
|
||||
ansible.builtin.apt_repository:
|
||||
repo: '{{ gitlab_runner_repository }}'
|
||||
tags: gitlab-runner
|
||||
|
||||
- name: install package
|
||||
package:
|
||||
name: gitlab-runner
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- gitlab-runner
|
||||
environment:
|
||||
GITLAB_RUNNER_DISABLE_SKEL: 'true'
|
||||
tags: gitlab-runner
|
||||
|
||||
- name: register runners
|
||||
gitlab_runner:
|
||||
ansible.builtin.gitlab_runner:
|
||||
name: '{{ item.name }}'
|
||||
url: '{{ item.url }}'
|
||||
token: '{{ item.token }}'
|
||||
|
@ -30,7 +31,7 @@
|
|||
tags: gitlab-runner
|
||||
|
||||
- name: enable and start service
|
||||
service:
|
||||
ansible.builtin.service:
|
||||
name: gitlab-runner
|
||||
state: started
|
||||
enabled: true
|
||||
|
|
Loading…
Reference in a new issue