fix(opnsense): спрашивать статус xray по активному инстансу, а не первому в config.xml
ansible-opnsense / deploy (push) Successful in 12s
ansible-opnsense / deploy (push) Successful in 12s
This commit is contained in:
1 parent
7aef3fe063
commit
f0c2d2e5a5
1 file changed
+1
-1
@@ -286,7 +286,7 @@
|
|||||||
|
|
||||||
- name: Проверить статус сервиса Xray
|
- name: Проверить статус сервиса Xray
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: "https://{{ opnsense_host }}/api/xray/service/status"
|
url: "https://{{ opnsense_host }}/api/xray/service/status/{{ xray_active_uuid }}"
|
||||||
method: GET
|
method: GET
|
||||||
url_username: "{{ opnsense_api_key }}"
|
url_username: "{{ opnsense_api_key }}"
|
||||||
url_password: "{{ opnsense_api_secret }}"
|
url_password: "{{ opnsense_api_secret }}"
|
||||||
|
|||||||
Reference in new issue
Block a user