update handlers & config.toml dest file

This commit is contained in:
Ludovic Cartier 2023-09-29 18:15:24 +02:00
parent 2a185dc3aa
commit c9a0df80c3
2 changed files with 5 additions and 6 deletions

View File

@ -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']

View File

@ -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