1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/gitlab_runner/handlers/main.yml
Leonidas Spyropoulos eed477869d
Replace ansible.builtin.service with ansible.builtin.systemd
The daemon_reload is specific to systemd and produce a warning in
ansible-lint

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2023-02-13 12:08:47 +00:00

12 lines
336 B
YAML

- name: Systemd daemon-reload
systemd: daemon_reload=yes
- name: Restart gitlab-runner
service: name=gitlab-runner state=restarted
- name: Restart gitlab-runner-docker-cleanup.timer
systemd: name=gitlab-runner-docker-cleanup.timer state=restarted daemon_reload=yes
- name: Restart docker
service: name=docker state=restarted