mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Replaced nginx native with openresty for logout injection. Right now still buggy on nextcloud and espocrm
This commit is contained in:
12
roles/svc-prx-openresty/handlers/main.yml
Normal file
12
roles/svc-prx-openresty/handlers/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: Validate OpenResty configuration
|
||||
command: >
|
||||
docker exec {{ openresty_container }} openresty -t -q
|
||||
register: openresty_test
|
||||
changed_when: false
|
||||
failed_when: openresty_test.rc != 0
|
||||
listen: restart openresty
|
||||
|
||||
- name: Restart OpenResty container
|
||||
command: docker restart {{ openresty_container }}
|
||||
listen: restart openresty
|
Reference in New Issue
Block a user