2021-05-28 22:49:48 +01:00
|
|
|
- name: Install and configure GitLab
|
|
|
|
import_role:
|
|
|
|
name: geerlingguy.gitlab
|
|
|
|
become: true
|
2021-05-29 11:21:20 +01:00
|
|
|
|
|
|
|
- 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
|
2021-08-10 22:51:12 +01:00
|
|
|
|
|
|
|
# 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
|