Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 561 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 561 Bytes

Shadowsocks DigitalOcean Automatic Provisioning

Prerequsites

1. Have local ssh key generated

ssh-keygen

2. Acquire DigitalOcean API TOKEN

Login to digitalocean click API on top, generate API. Save TOKEN to environment.

export DO_API_TOKEN="YOUR_API_TOKEN_HERE"

or append above command in your ~/.bashrc

3. Install Ansible

Have python2 and pip installed on your computer.

pip install ansible dopy

note: it has to be python2

Run provision.yml

ansible-playbook provision.yml