34 lines
759 B
YAML
34 lines
759 B
YAML
---
|
|
- name: Converge
|
|
hosts: all
|
|
roles:
|
|
- ansible-role-gitlab
|
|
vars:
|
|
gitlab_data_dir: /opt/data/git
|
|
gitlab_config:
|
|
prometheus:
|
|
enable: false
|
|
alertmanager:
|
|
enable: false
|
|
grafana:
|
|
enable: false
|
|
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'
|
|
|
|
pre_tasks:
|
|
- name: delete dockerenv file
|
|
ansible.builtin.file:
|
|
path: /.dockerenv
|
|
state: absent
|
|
|
|
- name: update apt cache
|
|
ansible.builtin.apt:
|
|
update_cache: true
|