18 lines
386 B
YAML
Executable File
18 lines
386 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({}), recursive=True) }}'
|
|
roles:
|
|
- certbot
|
|
- gitlab
|
|
- nginx
|