mono-infrastructure/ansible/playbooks/templates/usr/local/bin/fix_gitlab_certs.sh

8 lines
227 B
Bash
Raw Permalink Normal View History

2021-07-18 22:02:50 +00:00
#!/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