ansible/playbooks/tasks/app/gitlab-runner.yml

11 lines
317 B
YAML
Raw Permalink Normal View History

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