Deprecate reverse_proxy role as all functionality is available in vhost
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
---
|
||||
|
||||
- name: Deprecation warning
|
||||
debug:
|
||||
msg: "uumas.general.reverse_proxy is deprecated. You should switch to uumas.general.vhost with vhost_type: reverse_proxy"
|
||||
|
||||
- block:
|
||||
- name: Split legacy proxy_target to protocol, host and port
|
||||
set_fact:
|
||||
@@ -17,6 +21,9 @@
|
||||
|
||||
when: proxy_target is defined and proxy_target_port is not defined
|
||||
|
||||
- name: Setup {{ vhost_id }} reverse proxy
|
||||
include_tasks: "{{ reverse_proxy_type }}.yml"
|
||||
when: reverse_proxy_type != 'none'
|
||||
- name: configure vhost for reverse proxy
|
||||
include_role:
|
||||
name: vhost
|
||||
vars:
|
||||
vhost_type: reverse_proxy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user