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:
parent
783c38e34c
commit
0292f8db93
@ -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
|
||||
|
10
playbooks/tasks/app/gitlab-runner.yml
Normal file
10
playbooks/tasks/app/gitlab-runner.yml
Normal 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 ]
|
Loading…
Reference in New Issue
Block a user