Add a GitLab runner to vm-general-1

This is weird
This is going to immediately trigger a pipeline in GitLab, which will immediately use this runner
I love technology
This commit is contained in:
Salt 2022-07-21 23:22:14 -05:00
parent 783c38e34c
commit 0292f8db93
2 changed files with 11 additions and 0 deletions

View File

@ -17,6 +17,7 @@
- name: include tasks for applications
include_tasks: tasks/{{ item }}
with_items:
- app/gitlab-runner.yml
- app/redis.yml
- web/9iron.yml
- web/ara.yml

View File

@ -0,0 +1,10 @@
# vim:ft=ansible:
- name: docker deploy gitlab runner
docker_container:
name: gitlab-runner
image: gitlab/gitlab-runner:latest
restart_policy: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /data/gitlab-runner:/etc/gitlab-runner
tags: [ docker, gitlab, runner ]