Update Awesome

The install/uninstall commands have been changed.
Added Ansible Role method
This commit is contained in:
distillium
2025-08-13 14:34:14 +03:00
committed by GitHub
parent 720d3a977a
commit ee739c01ff

View File

@@ -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)
```
<div style={{ display: 'flex', justifyContent: 'center', gap: '1rem' }}>
<Button label="Shell Script Github Repository" link="https://github.com/distillium/warp-native" variant="secondary" size="md" outline />
</div>
<br />
**Option 2: Ansible Role (Recommended for automation)**
```bash
ansible-galaxy install themelbine.warp_native
```
<div style={{ display: 'flex', justifyContent: 'center', gap: '1rem' }}>
<Button label="Ansible Role Github Repository" link="https://github.com/TheMelbine/ansible-role-warp-native" variant="secondary" size="md" outline />
</div>
<br />
**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` |
</details>
**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)
```
<div style={{ display: 'flex', justifyContent: 'center', gap: '1rem' }}>
<Button label="Github repository" link="https://github.com/distillium/warp-native" variant="secondary" size="md" outline />
</div>
<br />
**Ansible Role Method:**
```yaml
- hosts: warp_servers
become: yes
roles:
- themelbine.warp_native
vars:
warp_native_state: absent
```
<div style={{ display: 'flex', justifyContent: 'center' }}>
<img src="/awesome/warp-native.webp" alt="warp-native" width="600" />