2020-04-11 13:16:20 +00:00
|
|
|
---
|
|
|
|
- name: Converge
|
|
|
|
hosts: all
|
|
|
|
roles:
|
|
|
|
- ansible-role-gitlab
|
|
|
|
vars:
|
2021-08-24 05:59:04 +00:00
|
|
|
gitlab_data_dir: /opt/data/git
|
2020-04-11 13:16:20 +00:00
|
|
|
gitlab_config:
|
|
|
|
prometheus:
|
|
|
|
enable: false
|
|
|
|
alertmanager:
|
|
|
|
enable: false
|
|
|
|
grafana:
|
|
|
|
enable: false
|
2021-08-24 06:13:21 +00:00
|
|
|
ldap_servers:
|
|
|
|
main:
|
|
|
|
label: Main AD
|
|
|
|
host: localhost
|
|
|
|
port: 389
|
|
|
|
uid: sAMAccountName
|
|
|
|
encryption: plain
|
|
|
|
bind_dn: 'CN=gitlab,DC=example,DC=com'
|
|
|
|
password: secret
|
|
|
|
base: 'OU=FR,DC=example,DC=com'
|
2020-04-11 13:16:20 +00:00
|
|
|
|
|
|
|
pre_tasks:
|
|
|
|
- name: delete dockerenv file
|
2021-08-24 06:06:07 +00:00
|
|
|
ansible.builtin.file:
|
2020-04-11 13:16:20 +00:00
|
|
|
path: /.dockerenv
|
|
|
|
state: absent
|
2021-08-24 07:13:44 +00:00
|
|
|
|
|
|
|
- name: update apt cache
|
|
|
|
ansible.builtin.apt:
|
|
|
|
update_cache: true
|