58 lines
1.3 KiB
YAML
Raw Normal View History

2022-08-05 20:59:55 +02:00
---
- name: traefik-restart
systemd:
name: docker-compose@traefik
state: restarted
2022-09-16 11:33:42 +02:00
ignore_errors: '{{ ansible_check_mode }}'
2022-08-05 20:59:55 +02:00
tags: ['docker_traefik']
- name: watchtower-restart
systemd:
name: docker-compose@watchtower
state: restarted
2022-09-16 11:33:42 +02:00
ignore_errors: '{{ ansible_check_mode }}'
2022-08-05 20:59:55 +02:00
tags: ['docker_watchtower']
- name: grafana-restart
systemd:
name: docker-compose@grafana
state: restarted
2022-09-16 11:33:42 +02:00
ignore_errors: '{{ ansible_check_mode }}'
2022-08-05 20:59:55 +02:00
tags: ['docker_grafana']
2022-09-16 11:33:42 +02:00
- name: maildev-restart
systemd:
name: docker-compose@maildev
state: restarted
ignore_errors: '{{ ansible_check_mode }}'
tags: ['docker_maildev']
2022-11-25 16:52:19 +01:00
- name: redisinsight-restart
systemd:
name: docker-compose@redisinsight
state: restarted
ignore_errors: '{{ ansible_check_mode }}'
tags: ['docker_redisinsight']
2023-03-20 14:05:38 +01:00
- name: cadvisor-restart
systemd:
name: docker-compose@cadvisor
state: restarted
ignore_errors: '{{ ansible_check_mode }}'
tags: ['docker_cadvisor']
- name: gitlab-restart
systemd:
name: docker-compose@gitlab
state: restarted
ignore_errors: '{{ ansible_check_mode }}'
tags: ['docker_gitlab']
2023-09-19 12:32:42 +02:00
- name: 'docker restart gitlab-runner'
docker_container:
name: gitlab-runner
restart: yes
when:
- 'not register_docker_container_gitlab_runner.changed'
tags: ['docker_gitlab_runner']