mono-infrastructure/ansible/playbooks/templates/usr/local/bin/fix_gitlab_certs.sh
2021-07-18 15:02:50 -07:00

8 lines
227 B
Bash

#!/bin/bash
/bin/cp "{{ gitlab_ssl_key }}" /etc/gitlab/ssl/
/bin/cp "{{ gitlab_ssl_cert }}" /etc/gitlab/ssl/
/bin/chown gitlab-www /etc/gitlab/ssl/*.{crt,key}
/bin/chmod 600 /etc/gitlab/ssl/*.key
/usr/bin/gitlab-ctl hup nginx