update handlers & config.toml dest file
This commit is contained in:
parent
2a185dc3aa
commit
c9a0df80c3
@ -49,9 +49,8 @@
|
|||||||
tags: ['docker_gitlab']
|
tags: ['docker_gitlab']
|
||||||
|
|
||||||
- name: 'gitlab-runner-restart'
|
- name: 'gitlab-runner-restart'
|
||||||
docker_container:
|
systemd:
|
||||||
name: gitlab-runner
|
name: docker-compose@gitlab-runner
|
||||||
restart: yes
|
state: restarted
|
||||||
when:
|
ignore_errors: '{{ ansible_check_mode }}'
|
||||||
- 'not register_docker_container_gitlab_runner.changed'
|
|
||||||
tags: ['docker_gitlab-runner']
|
tags: ['docker_gitlab-runner']
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
- name: 'gitlab-runner | configure config.toml'
|
- name: 'gitlab-runner | configure config.toml'
|
||||||
copy:
|
copy:
|
||||||
dest: '{{ register_gitlab_runner_etc_gitlab_runner.ansible_facts.docker_volume.Mountpoint }}/config.toml'
|
dest: '/var/lib/docker/volumes/gitlab-runner__etc_gitlab-runner/_data/config.toml'
|
||||||
mode: '0600'
|
mode: '0600'
|
||||||
content: |
|
content: |
|
||||||
concurrent = 1
|
concurrent = 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user