ansible/plays/gitlab.yml

18 lines
370 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: git
vars:
certbot: '{{ loc_certbot | default(glob_certbot | default([])) }}'
gitlab: '{{ glob_gitlab | default({}) | combine(loc_gitlab | default({})) }}'
roles:
- certbot
- gitlab
- nginx