Commit c5607d68 authored by nanahira's avatar nanahira

production config

parent 1d4a793b
...@@ -18,18 +18,18 @@ ...@@ -18,18 +18,18 @@
dest: '/etc/wireguard/{{item}}.ipset' dest: '/etc/wireguard/{{item}}.ipset'
with_items: '{{route_list_names}}' with_items: '{{route_list_names}}'
# 为了提高测试时候的性能,不改动wg的时候注释掉这段 # 为了提高测试时候的性能,不改动wg的时候注释掉这段
#- name: 'clean up null connections first' - name: 'clean up null connections first'
# include_tasks: 'protocols/{{item.protocol}}/configure.yaml' include_tasks: 'protocols/{{item.protocol}}/configure.yaml'
# vars: vars:
# conn: '{{item}}' conn: '{{item}}'
# with_items: '{{ connections }}' with_items: '{{ connections }}'
# when: "item.protocol == 'null'" when: "item.protocol == 'null'"
# - name: 'loop through list from a variable' - name: 'loop through list from a variable'
# include_tasks: 'protocols/{{item.protocol}}/configure.yaml' include_tasks: 'protocols/{{item.protocol}}/configure.yaml'
# vars: vars:
# conn: '{{item}}' conn: '{{item}}'
# with_items: '{{ connections }}' with_items: '{{ connections }}'
# when: "item.protocol != 'null'" when: "item.protocol != 'null'"
- name: 'frps' - name: 'frps'
include_tasks: 'protocols/wgfrp/frps.yaml' include_tasks: 'protocols/wgfrp/frps.yaml'
when: 'frps_needed is defined' when: 'frps_needed is defined'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment