hifis-net / ansible-role-gitlab-runner

:warning: PLEASE NOTE: This role has been migrated to our hifis.toolkit collection. :warning: Ansible role for deploying GitLab-Runner. The role is optimized for use with Openstack.
https://galaxy.ansible.com/ui/repo/published/hifis/toolkit/
Other
8 stars 2 forks source link

Errors on first run in check_mode #159

Closed Normo closed 1 year ago

Normo commented 1 year ago

The role fails when applying in check_mode on a fresh target host:

TASK [hifis.gitlab_runner : Create SSH key pair for communicating with Runners.] ***
fatal: [gitlabcomhzdr]: FAILED! => {"changed": false, "msg": "The directory /etc/gitlab-runner does not exist or the file is not a directory", "name": "/etc/gitlab-runner"}
tobiashuste commented 1 year ago

The pipeline on the main branch revealed that we need to skip at least one other job. Currently, the Identify which runners are registered task is failing.

See https://github.com/hifis-net/ansible-role-gitlab-runner/actions/runs/5389295886/jobs/9783056744#step:5:359