infrastructure/ansible/roles/gitlab/tasks/main.yml
Jake Howard 55e3b81f06
Install release version of gitlab-dater onto GitLab server
Rather than than hacky development one I was using before
2021-08-10 22:51:12 +01:00

28 lines
682 B
YAML

- name: Install and configure GitLab
import_role:
name: geerlingguy.gitlab
become: true
- name: Create dir for service override
file:
path: /usr/lib/systemd/system/gitlab-runsvdir.service.d/
state: directory
mode: "0755"
become: true
- name: Create override.conf
copy:
src: files/gitlab-override.conf
dest: /usr/lib/systemd/system/gitlab-runsvdir.service.d/gitlab-override.conf
owner: root
group: root
mode: "0644"
become: true
# https://theorangeone.net/posts/gitlab-dater/
- name: Install gitlab-dater
git:
repo: https://git.theorangeone.net/sys/gitlab-dater
dest: "{{ home }}/gitlab-dater"
depth: 1
become: true