Skip to content

feat: add sing-box role + README#3

Merged
findias merged 1 commit intomainfrom
feature/singbox-role-refactor
Mar 23, 2026
Merged

feat: add sing-box role + README#3
findias merged 1 commit intomainfrom
feature/singbox-role-refactor

Conversation

@findias
Copy link
Copy Markdown
Contributor

@findias findias commented Mar 23, 2026

Summary

  • Add sing-box-playbook role (refactored): separate task files for install, config, service, system prep, validate
  • Fix DNS configuration and obfuscation rendering for sing-box 1.12+
  • Fix vless_client_encryption rendering when value is false/none/empty
  • Consolidate secrets rules in .gitignore
  • Add project README with quick start, architecture overview, secrets reference, VLESS Encryption docs, and testing guide

Test plan

  • ./tests/run.sh passes (Ansible render + xray -test)
  • SKIP_XRAY_TEST=1 ./tests/run.sh passes (Ansible only)
  • sing-box role deploys cleanly on target host

…dling

- Introduce `singbox_dns_strategy` and `singbox_dns_final` for improved DNS format compliance
- Update `config.json.j2` to utilize new variables instead of deprecated formats
- Conditional rendering of `obfs` block based on `obfs_enabled` and `obfs_password` settings
- Add new role files in tasks/*.yml and defaults/secrets.yml.example
@findias findias merged commit 9acc0f9 into main Mar 23, 2026
1 check passed
findias added a commit that referenced this pull request Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant