srv_ss
ivansible.srv_ss
This role installs shadowsocks-libev server, and two protocol plugins: v2ray and simple-obfs (now deprecated).
The main package is installed from official Ubuntu repositories on bionic or from the shadowsocks-libev PPA on xenial.
Please refer to this Dockerfile and this Wiki for instructions on installing shadowsocks-libev and building simple-obfs.
Requirements
None
Variables
Available variables are listed below, along with default values.
srv_ss_configs: []
srv_ss_defaults:
name: config
bindip: "0.0.0.0"
port: 9443
local_port: 1080
password: secret
timeout: 60
method: aes-128-cfb
srv_ss_obfs_build_deps:
- autoconf
- automake
- libtool
- asciidoc
- xmlto
- libssl-dev
- libpcre3-dev
- libc-ares-dev
- libev-dev
TODO...
Tags
srv_ss_install
-- install shadowsocks-libev from PPAsrv_ss_fix
-- aply service fixes: setproxy
process group, disable ambiend capabilities on old kernels, etcsrv_ss_v2ray
-- install v2ray pluginsrv_ss_obfs
-- build and install simple-obfssrv_ss_services
-- configure and activate shadowsocks servicessrv_ss_nginx
-- configure nginx frontingsrv_ss_all
-- all of above
Dependencies
- ivansible.lin_base
- common ansible handlers, default parameters and custom modules
- handler to restart syslog service
- global flag
lin_compress_logs
enables compression of rotated logs
- ivansible.srv_cdn
- installs nginx and creates directory for mixin configs
Example Playbook
- hosts: myproxy
roles:
- role: ivansible.srv_ss
srv_ss_configs:
- port: 12081
password: secret1
License
MIT
Author Information
Created in 2018-2020 by IvanSible
Install
ansible-galaxy install ivansible/srv-ss
License
Unknown
Downloads
36
Owner
ivandeex ansible roles, molecule tests: https://galaxy.ansible.com/ivansible/