update handlers & config.toml dest file
This commit is contained in:
parent
2a185dc3aa
commit
c9a0df80c3
@ -49,9 +49,8 @@
|
||||
tags: ['docker_gitlab']
|
||||
|
||||
- name: 'gitlab-runner-restart'
|
||||
docker_container:
|
||||
name: gitlab-runner
|
||||
restart: yes
|
||||
when:
|
||||
- 'not register_docker_container_gitlab_runner.changed'
|
||||
systemd:
|
||||
name: docker-compose@gitlab-runner
|
||||
state: restarted
|
||||
ignore_errors: '{{ ansible_check_mode }}'
|
||||
tags: ['docker_gitlab-runner']
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
- name: 'gitlab-runner | configure config.toml'
|
||||
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'
|
||||
content: |
|
||||
concurrent = 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user