test: fix fqcn typo

This commit is contained in:
Adrien Waksberg 2022-04-07 15:15:48 +02:00
parent 5ed001d64e
commit 0ee4ef794b
3 changed files with 13 additions and 7 deletions

View file

@ -10,3 +10,8 @@
token: TesT token: TesT
executor: docker executor: docker
state: absent state: absent
pre_tasks:
- name: update apt cache
ansible.builtin.apt:
update_cache: true

View file

@ -17,6 +17,6 @@ platforms:
lint: | lint: |
set -e set -e
yamllint . yamllint .
ansible-lint ansible-lint .
verifier: verifier:
name: testinfra name: testinfra

View file

@ -1,23 +1,24 @@
--- ---
- name: add gpg key - name: add gpg key
apt_key: ansible.builtin.apt_key:
url: https://packages.gitlab.com/runner/gitlab-runner/gpgkey url: https://packages.gitlab.com/runner/gitlab-runner/gpgkey
tags: gitlab-runner tags: gitlab-runner
- name: add repository - name: add repository
apt_repository: ansible.builtin.apt_repository:
repo: '{{ gitlab_runner_repository }}' repo: '{{ gitlab_runner_repository }}'
tags: gitlab-runner tags: gitlab-runner
- name: install package - name: install package
package: ansible.builtin.package:
name: gitlab-runner name:
- gitlab-runner
environment: environment:
GITLAB_RUNNER_DISABLE_SKEL: 'true' GITLAB_RUNNER_DISABLE_SKEL: 'true'
tags: gitlab-runner tags: gitlab-runner
- name: register runners - name: register runners
gitlab_runner: ansible.builtin.gitlab_runner:
name: '{{ item.name }}' name: '{{ item.name }}'
url: '{{ item.url }}' url: '{{ item.url }}'
token: '{{ item.token }}' token: '{{ item.token }}'
@ -30,7 +31,7 @@
tags: gitlab-runner tags: gitlab-runner
- name: enable and start service - name: enable and start service
service: ansible.builtin.service:
name: gitlab-runner name: gitlab-runner
state: started state: started
enabled: true enabled: true