Outline ansible playbook allows you to fast install new Outline VPN.
To use this playbook you should install Ansible v5+ on your localhost.
Install dependencies:
$ ansible-galaxy collection install community.docker
- Generate new ssh key for your server
$ ssh-keygen -t rsa -b 2048 -C "outline"
- Copy generated ssh key to your server
$ ssh-copy-id -h username@host -i ~/.ssh/id_rsa
Or simply past id_rsa.pub
content to ~/.ssh/authorized_keys
- On localhost past to your ~/.ssh/config
Host SERVER_IP_ADDRESS
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
-
Create new inventory file in
inventory
. You can look toinventory/example.inventory.yaml
. -
Run
ping.sh
script to ensure that Ansible can connect to your server.
Your Outline host OS must be CentOS7
.
$ ansible-playbook install-vpn.playbook.yaml
You can limit installation for single server or server group like this:
$ ansible-playbook install-vpn.playbook.yaml --limit=myhost
JSON output for Outline Manager saves to configs
folder.
ping.sh
- tries to ping all your servers.
Right now I disable firewalld forever because outline install script breaks it. Working on it.
BTC bc1qsqr26mu57stt9m4rwe0wvawsquw8v0cmscj9xd
ETH 0xd3aE7C72592FE9113C85e9846b87af3c8a8460fA