riemers / ansible-gitlab-runner

Ansible role to install gitlab-runner
MIT License
351 stars 266 forks source link

fix self-signed shell #347

Closed Stunkymonkey closed 2 months ago

Stunkymonkey commented 3 months ago

sadly i have to report the current version throws:

"set -o pipefail\nopenssl s_client -connect some.company.portal.com:443 -showcerts </dev/null 2>/dev/null |\nsed -e '/-----BEGIN/,/-----END/!d' | tee /usr/local/share/ca-certificates/gitlabcert.crt >/dev/null\n"

I guess this fixes it (not tested yet)

Stunkymonkey commented 3 months ago

still getting "stderr_lines": ["/bin/sh: 1: set: Illegal option -o pipefail"]

Stunkymonkey commented 2 months ago

I can now confirm this works on ubuntu 24-04 and 22-04.

guenhter commented 2 months ago

I trust you that this works :)

thx for the contribution