infra/ansible/roles/docker-repo/handlers/main.yml

12 lines
181 B
YAML

---
- name: reload consul
service:
name: consul
state: reloaded
- name: restart docker
docker_container:
name: docker-repo
image: registry:2
restart: True