base/roles/nginx/handlers/main.yml

9 lines
215 B
YAML
Raw Permalink Normal View History

---
- name: Ensure nginx container '{{ nginx_container_name }}' is restarted
community.docker.docker_container:
name: "{{ nginx_container_name }}"
state: started
restart: true
listen: restart-nginx