Skip to content

wiyin/AnsibleSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible-SS

shadowsocks-libev service installation on VPS

Ubuntu 16.04

initialization

dpkg --configure -a
apt update
apt upgrade -y 
add-apt-repository ppa:ansible/ansible
apt-get update
apt install ansible git -y

example:

ansible-pull -C master -d /var/ansible/gitrepo -i /var/ansible/gitrepo/hosts -U https://github.com/wiyin/AnsibleSS.git -e "role=ubuntu1604-ss"

ansible-pull -C master -d /var/ansible/gitrepo -i /var/ansible/gitrepo/hosts \
-U https://github.com/wiyin/AnsibleSS.git \
-e "kernel_url=http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14.15/linux-image-4.14.15-041415-generic_4.14.15-041415.201801231530_amd64.deb" \
-e "role=ubuntu1604-ss" \
-e "ss_password=helloword" \
-e "ss_port=1080" \
-e "ss_method=rc4-md5"

Ubuntu 18.04

initialization

dpkg --configure -a
apt update
apt upgrade -y 
apt install software-properties-common -y
add-apt-repository ppa:ansible/ansible
apt update
apt install ansible git -y

example:

ansible-pull -C master -d /var/ansible/gitrepo -i /var/ansible/gitrepo/hosts -U https://github.com/wiyin/AnsibleSS.git -e "role=ubuntu1604-ss"

ansible-pull -C master -d /var/ansible/gitrepo -i /var/ansible/gitrepo/hosts \
-U https://github.com/wiyin/AnsibleSS.git \
-e "role=ubuntu1804-ss" \
-e "ss_password=helloword" \
-e "ss_port=1080" \
-e "ss_method=rc4-md5"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published