From ee739c01ff4e8b6fd01c62801eea8b805aed721b Mon Sep 17 00:00:00 2001 From: distillium <136273471+distillium@users.noreply.github.com> Date: Wed, 13 Aug 2025 14:34:14 +0300 Subject: [PATCH] Update Awesome The install/uninstall commands have been changed. Added Ansible Role method --- docs/awesome-remnawave.md | 55 +++++++++++++++++++++++++++++++-------- 1 file changed, 44 insertions(+), 11 deletions(-) diff --git a/docs/awesome-remnawave.md b/docs/awesome-remnawave.md index dd2fa18..c29232b 100644 --- a/docs/awesome-remnawave.md +++ b/docs/awesome-remnawave.md @@ -520,11 +520,12 @@ The script backups and restores only the entire database, as well as the .env an --- -### WARP Native Installer by distillium +### WARP Native Installer This script installs Cloudflare WARP in “native” mode via `WireGuard`, without using `warp-cli`. -**Author:** [distillium](https://github.com/distillium) +**Script Author:** [distillium](https://github.com/distillium) +**Ansible Role Author:** [TheMelbine](https://github.com/TheMelbine) It automates: - Installing the necessary packages (`wireguard`, `resolvconf`) @@ -533,10 +534,36 @@ It automates: - Connecting and checking status - Enabling autorun of the `warp` interface -**Installing (performed on each desired node):** - +**Installing:** +**Option 1: Shell Script (performed on each desired node):** ```bash -curl -sL https://raw.githubusercontent.com/distillium/warp-native/main/install.sh | bash +bash <(curl -fsSL https://raw.githubusercontent.com/distillium/warp-native/main/install.sh) +``` + +
+
+
+ +**Option 2: Ansible Role (Recommended for automation)** +```bash +ansible-galaxy install themelbine.warp_native +``` + +
+
+
+ +**Example playbook:** +```yaml +- hosts: warp_servers + become: yes + roles: + - themelbine.warp_native + vars: + warp_native_state: present + warp_native_modify_resolv: true ``` **Templates for Xray configuration** @@ -593,15 +620,21 @@ curl -sL https://raw.githubusercontent.com/distillium/warp-native/main/install.s | Enable autorun | `systemctl enable wg-quick@warp` | -**Deleting:** +**Uninstall:** +**Shell Script Method:** ```bash -curl -sL https://raw.githubusercontent.com/distillium/warp-native/main/uninstall.sh | bash +bash <(curl -fsSL https://raw.githubusercontent.com/distillium/warp-native/main/uninstall.sh) ``` -
-
-
+**Ansible Role Method:** +```yaml +- hosts: warp_servers + become: yes + roles: + - themelbine.warp_native + vars: + warp_native_state: absent +```
warp-native