diff options
Diffstat (limited to 'roles')
-rw-r--r-- | roles/shadowsocks/tasks/main.yml | 2 | ||||
-rw-r--r-- | roles/shadowsocks/templates/config.json.j2 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/shadowsocks/tasks/main.yml b/roles/shadowsocks/tasks/main.yml index 5065085..414ddee 100644 --- a/roles/shadowsocks/tasks/main.yml +++ b/roles/shadowsocks/tasks/main.yml @@ -19,7 +19,7 @@ config: | "{" "server": "{{ ansible_ssh_host }}", - "server_port": {{ shadowsocks.server_port }}, + "server_port": {{ shadowsocks.port }}, "local_port": 1080, "password": "{{ shadowsocks.password }}", "method": "{{ shadowsocks.method }}", diff --git a/roles/shadowsocks/templates/config.json.j2 b/roles/shadowsocks/templates/config.json.j2 index 5744fec..73d3ef9 100644 --- a/roles/shadowsocks/templates/config.json.j2 +++ b/roles/shadowsocks/templates/config.json.j2 @@ -1,6 +1,6 @@ { "server": ["::0", "0.0.0.0"], - "server_port": {{ shadowsocks.server_port }}, + "server_port": {{ shadowsocks.port }}, "password": "{{ shadowsocks.password }}", "method": "{{ shadowsocks.method }}", "timeout": 600, |