#SPDX-License-Identifier: MIT-0 --- # handlers file for opnform - name: restart opnform community.docker.docker_compose_v2: project_src: "{{ opnform_docker_compose_dir }}" state: restarted # nginx.conf is bind-mounted into the ingress container and rendered to # /etc/nginx/conf.d/default.conf by the envsubst entrypoint on container # start. Plain `docker restart` re-runs that entrypoint, so the new # template is picked up without bouncing db/redis/api/ui. - name: restart opnform ingress community.docker.docker_container: name: opnform-ingress state: started restart: true