services/roles/nginx/handlers/main.yml

9 lines
215 B
YAML
Raw Normal View History

2023-07-16 17:01:55 +00:00
---
- name: Ensure nginx container '{{ nginx_container_name }}' is restarted
community.docker.docker_container:
name: "{{ nginx_container_name }}"
state: started
restart: true
listen: restart-nginx