update handlers
This commit is contained in:
parent
2f01747638
commit
c2ba308f49
@ -48,10 +48,10 @@
|
||||
ignore_errors: '{{ ansible_check_mode }}'
|
||||
tags: ['docker_gitlab']
|
||||
|
||||
- name: 'docker restart gitlab-runner'
|
||||
- name: 'gitlab-runner-restart'
|
||||
docker_container:
|
||||
name: gitlab-runner
|
||||
restart: yes
|
||||
when:
|
||||
- 'not register_docker_container_gitlab_runner.changed'
|
||||
tags: ['docker_gitlab_runner']
|
||||
tags: ['docker_gitlab-runner']
|
||||
|
@ -58,7 +58,7 @@
|
||||
volumes = ["/var/run/docker.sock:/var/run/docker.sock:rw", "/cache", "/builds:/builds"]
|
||||
shm_size = 0
|
||||
pull_policy = ["always", "if-not-present"]
|
||||
notify: 'docker restart gitlab-runner'
|
||||
notify: 'gitlab-runner-restart'
|
||||
when:
|
||||
- 'gitlab_runner_register_token is defined'
|
||||
- 'register_gitlab_runner_register.json.token is defined'
|
||||
|
Loading…
x
Reference in New Issue
Block a user