Skip to content
Snippets Groups Projects
Verified Commit 73a6b5af authored by ynerant's avatar ynerant
Browse files

[gitlab] Install gitlab


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent f07bb8b7
No related branches found
No related tags found
1 merge request!163Gitlab
---
- name: Configure Gitlab repository
template:
src: apt/sources.list.d/gitlab_gitlab-ce.list.j2
dest: /etc/apt/sources.list.d/gitlab_gitlab-ce.list
mode: 0644
owner: root
group: root
- name: Install Gitlab
apt:
update_cache: true
install_recommends: false
name:
- gitlab-ce
register: apt_result
retries: 3
until: apt_result is succeeded
- name: Add Gitlab configuration
template:
src: gitlab.rb.j2
......
{{ ansible_header | comment }}
deb https://packages.gitlab.com/gitlab/gitlab-ce/debian/ {{ ansible_distribution_release }} main
deb-src https://packages.gitlab.com/gitlab/gitlab-ce/debian/ {{ ansible_distribution_release }} main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment