{"id":27151300,"url":"https://github.com/mohrezfadaei/ansiban","last_synced_at":"2025-08-17T10:39:17.944Z","repository":{"id":285250385,"uuid":"855382788","full_name":"mohrezfadaei/ansiban","owner":"mohrezfadaei","description":"Deploy Marzban using Ansible","archived":false,"fork":false,"pushed_at":"2024-09-12T11:23:50.000Z","size":36,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T16:01:47.939Z","etag":null,"topics":["ansible","deployment","marzban"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mohrezfadaei.png","metadata":{"files":{"readme":"README.ch.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-10T19:20:31.000Z","updated_at":"2025-01-11T04:01:45.000Z","dependencies_parsed_at":"2025-03-30T16:01:55.381Z","dependency_job_id":"7890ab84-5dbd-430d-8481-c9c3e40a7731","html_url":"https://github.com/mohrezfadaei/ansiban","commit_stats":null,"previous_names":["mohrezfadaei/ansiban"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohrezfadaei%2Fansiban","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohrezfadaei%2Fansiban/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohrezfadaei%2Fansiban/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohrezfadaei%2Fansiban/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohrezfadaei","download_url":"https://codeload.github.com/mohrezfadaei/ansiban/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247863527,"owners_count":21008904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","deployment","marzban"],"created_at":"2025-04-08T14:39:27.920Z","updated_at":"2025-04-08T14:39:28.663Z","avatar_url":"https://github.com/mohrezfadaei.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansiban (中文)\n\n**Ansiban** 是一个基于 Ansible 的工具，帮助您快速高效地准备和部署 [Marzban](https://github.com/Gozargah/Marzban)。\n\n## 可用语言\n\n- [中文 (Chinese)](README.ch.md) ✅\n- [English](https://github.com/mohrezfadaei/ansiban)\n- [فارسی (Persian)](README.fa.md)\n\n## 快速开始\n\n要开始使用 Ansiban，请按以下步骤操作：\n\n### 1. 更新库存文件\n\n修改库存文件 [`hosts.ini`](inventory/hosts.ini) 以包括您的 master 和节点配置：\n\n- **节点名称**：您可以重命名节点（例如 `node1`、`node2`、`node3`）为自定义名称，如 `germany1`。（可选）\n- **`ansible_host`**：设置为您服务器的 IP 地址，以便通过 SSH 连接。（必填）\n- **`ansible_user`**：指定您用于 SSH 访问的用户名。（必填）\n- **`ansible_ssh_private_key_file`**：提供 SSH 私钥的路径，以便访问服务器。（必填）\n\n### 2. 配置 Master 变量\n\n编辑 [`master.yml`](group_vars/master.yml) 文件以自定义 Marzban 的部署：\n\n- **`marzban_subscription_subdomain`**：设置为您的 Marzban 面板子域名（仅应为子域部分，而不是整个域名）。（必填）\n\n    \u003e 例子：\n    \u003e\n    \u003e ✅ `sub`\n    \u003e\n    \u003e ❌ `sub.mydomain.com`\n\n- **`marzban_domain`**：指定您的 Marzban 部署的域名（例如 `mydomain.com`）。（必填）\n- **`marzban_sub_profile_title`**：为您的组织或子配置文件设置标题。（可选）\n- **`db_general_password`**：提供 MySQL 数据库的密码。（必填）\n\n## 致谢\n\n特别感谢 [Marzban](https://github.com/Gozargah/Marzban) 的创建者，他们的开源项目激发了此工具的灵感。\n\n我们还要感谢 Ansible 社区的出色文档和支持，它们在 **Ansiban** 的开发中起到了重要作用。\n\n## 许可证\n\n此项目基于 Apache 2.0 许可证发布。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohrezfadaei%2Fansiban","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohrezfadaei%2Fansiban","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohrezfadaei%2Fansiban/lists"}