ansible/plays/gitlab.yml

23 lines
741 B
YAML
Executable File

#!/usr/bin/env ansible-playbook
---
# Deploy Gitlab CI
- hosts: gitlab-ci.adm.crans.org
roles:
- docker
- gitlab-runner
# Install Gitlab
- hosts: gitlab
vars:
certbot: '{{ loc_certbot | default(glob_certbot | default([])) }}'
gitlab: '{{ glob_gitlab | default({}) | combine(loc_gitlab | default({}), recursive=True) }}'
irker: '{{ glob_irker | default({}) | combine(loc_irker | default({})) }}'
mirror: '{{ glob_mirror | default({}) | combine(loc_mirror | default({})) }}'
nginx: '{{ glob_nginx | default({}) | combine(loc_nginx | default({})) }}'
reverseproxy: '{{ glob_reverseproxy | default({}) | combine(loc_reverseproxy | default({})) }}'
roles:
- certbot
- gitlab
- nginx
- irker