25 lines
821 B
YAML
Executable File
25 lines
821 B
YAML
Executable File
#!/usr/bin/env ansible-playbook
|
|
---
|
|
# Deploy Gitlab CI
|
|
- hosts: gitlab_runner
|
|
vars:
|
|
docker: "{{ glob_docker | default({}) | combine(loc_docker | default({})) }}"
|
|
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
|