ansible/playbooks/tasks/app/gitlab-runner.yml
Jacob Babor 0292f8db93 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
2022-07-21 23:22:14 -05:00

11 lines
317 B
YAML

# 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 ]