mirror of
https://github.com/itdoginfo/ansible-openwrt-hirkn.git
synced 2025-12-11 17:44:29 +05:00
Fix examples
This commit is contained in:
14
README.EN.md
14
README.EN.md
@@ -69,7 +69,7 @@ Wireguard, only domains, stubby, Russia, acces from wg network, host 192.168.1.1
|
|||||||
remote_user: root
|
remote_user: root
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- domain-routing-openwrt
|
- itdoginfo.domain_routing_openwrt
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
tunnel: wg
|
tunnel: wg
|
||||||
@@ -93,12 +93,22 @@ Sing-box, stubby, Russia
|
|||||||
remote_user: root
|
remote_user: root
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- domain-routing-openwrt
|
- itdoginfo.domain_routing_openwrt
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
tunnel: singbox
|
tunnel: singbox
|
||||||
dns_encrypt: stubby
|
dns_encrypt: stubby
|
||||||
country: russia-inside
|
country: russia-inside
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: sing-box config
|
||||||
|
template:
|
||||||
|
src: "templates/openwrt-sing-box-json.j2"
|
||||||
|
dest: "/etc/sing-box/config.json"
|
||||||
|
mode: 0644
|
||||||
|
notify:
|
||||||
|
- Restart sing-box
|
||||||
|
- Restart network
|
||||||
```
|
```
|
||||||
|
|
||||||
License
|
License
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -81,6 +81,16 @@ Sing-box, stubby, Russia
|
|||||||
tunnel: singbox
|
tunnel: singbox
|
||||||
dns_encrypt: stubby
|
dns_encrypt: stubby
|
||||||
country: russia-inside
|
country: russia-inside
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: sing-box config
|
||||||
|
template:
|
||||||
|
src: "templates/openwrt-sing-box-json.j2"
|
||||||
|
dest: "/etc/sing-box/config.json"
|
||||||
|
mode: 0644
|
||||||
|
notify:
|
||||||
|
- Restart sing-box
|
||||||
|
- Restart network
|
||||||
```
|
```
|
||||||
|
|
||||||
В inventory файле роутер обязательно должен быть в группе `[openwrt]`
|
В inventory файле роутер обязательно должен быть в группе `[openwrt]`
|
||||||
|
|||||||
Reference in New Issue
Block a user