feat(nginx): add ansible role

This commit is contained in:
2023-07-16 19:01:55 +02:00
parent 20cb480915
commit cd31d8b6af
3 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1,8 @@
---
- name: Ensure nginx container '{{ nginx_container_name }}' is restarted
community.docker.docker_container:
name: "{{ nginx_container_name }}"
state: started
restart: true
listen: restart-nginx