mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 05:17:36 -02:30
Support wss as ws-listener in the Receptor config
This commit is contained in:
committed by
Seth Foster
parent
c36d2b0485
commit
f98493aa61
@@ -133,7 +133,8 @@ def generate_group_vars_all_yml(instance_obj):
|
|||||||
canonical_addr = instance_obj.canonical_address
|
canonical_addr = instance_obj.canonical_address
|
||||||
if canonical_addr:
|
if canonical_addr:
|
||||||
context['listener_port'] = canonical_addr.port
|
context['listener_port'] = canonical_addr.port
|
||||||
context['listener_protocol'] = canonical_addr.protocol
|
protocol = canonical_addr.protocol if canonical_addr.protocol != 'wss' else 'ws'
|
||||||
|
context['listener_protocol'] = protocol
|
||||||
|
|
||||||
all_yaml = render_to_string("instance_install_bundle/group_vars/all.yml", context=context)
|
all_yaml = render_to_string("instance_install_bundle/group_vars/all.yml", context=context)
|
||||||
# convert consecutive newlines with a single newline
|
# convert consecutive newlines with a single newline
|
||||||
|
|||||||
Reference in New Issue
Block a user