58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
---
|
|
- name: traefik-restart
|
|
systemd:
|
|
name: docker-compose@traefik
|
|
state: restarted
|
|
ignore_errors: '{{ ansible_check_mode }}'
|
|
tags: ['docker_traefik']
|
|
|
|
- name: watchtower-restart
|
|
systemd:
|
|
name: docker-compose@watchtower
|
|
state: restarted
|
|
ignore_errors: '{{ ansible_check_mode }}'
|
|
tags: ['docker_watchtower']
|
|
|
|
- name: grafana-restart
|
|
systemd:
|
|
name: docker-compose@grafana
|
|
state: restarted
|
|
ignore_errors: '{{ ansible_check_mode }}'
|
|
tags: ['docker_grafana']
|
|
|
|
- name: maildev-restart
|
|
systemd:
|
|
name: docker-compose@maildev
|
|
state: restarted
|
|
ignore_errors: '{{ ansible_check_mode }}'
|
|
tags: ['docker_maildev']
|
|
|
|
- name: redisinsight-restart
|
|
systemd:
|
|
name: docker-compose@redisinsight
|
|
state: restarted
|
|
ignore_errors: '{{ ansible_check_mode }}'
|
|
tags: ['docker_redisinsight']
|
|
|
|
- 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']
|
|
|
|
- name: 'docker restart gitlab-runner'
|
|
docker_container:
|
|
name: gitlab-runner
|
|
restart: yes
|
|
when:
|
|
- 'not register_docker_container_gitlab_runner.changed'
|
|
tags: ['docker_gitlab_runner']
|