fix(opnsense/xray): guard changed_when on rc == 0 and re-sync active instance
ansible-deploy / plan (push) Successful in 2s
ansible-lint / lint (push) Successful in 2s
ansible-deploy / deploy (opnsense, ) (push) Failing after 11s

This commit is contained in:
karpenok committed 2026-11-18 15:26:45 +07:00
1 parent 34c5ff1aac
commit 471fe23e45
1 file changed
+1 -1
+1 -1
View File
@@ -44,7 +44,7 @@
loglevel: "{{ xray_loglevel }}"
environment: "{{ xray_sync_env }}"
register: xray_sync_raw
changed_when: (xray_sync_raw.stdout | from_json).changed
changed_when: xray_sync_raw.rc == 0 and ((xray_sync_raw.stdout | from_json).changed | default(false))
no_log: true
- name: Разобрать итог синхронизации подписок Xray