diff --git a/inventory/host_vars/runner.yml b/inventory/host_vars/runner.yml index ccc1593..cff3c78 100644 --- a/inventory/host_vars/runner.yml +++ b/inventory/host_vars/runner.yml @@ -2,3 +2,6 @@ nft_to: - to: firebat proto: tcp port: [22, 8006] + +xray_policy: + - proxy: terraform diff --git a/roles/xray-lists/templates/90-proxy.nft.j2 b/roles/xray-lists/templates/90-proxy.nft.j2 index 8500ef6..07bde59 100644 --- a/roles/xray-lists/templates/90-proxy.nft.j2 +++ b/roles/xray-lists/templates/90-proxy.nft.j2 @@ -5,7 +5,7 @@ {%- elif name in xray_ip_sets or name in (xray_static_sets | default([])) -%} @{{ name }}_ip {%- elif name in xray_domain_sets -%} - @{{ name_dom }}_dom + @{{ name }}_dom {%- else -%} INVALID_XRAY_SET_{{ name }} {%- endif -%}