-
Make changes in the
vars.yml
(just edit two following variables):external_node_domain
: Enter yout hostname or public IP address.port
: sets on 443 (recommended, because of https) but you could modify that.
-
Ensure that you have Ansible and
docker
by issuing the following command:sudo pip install ansible # or sudo apt install ansible sudo pip install docker
-
Make changes in the
hosts
inventory list, You should have private key, if you have not any private key and login via password, uncomment the 7rd and 15rdansible_password
vars. -
Deploying v2ray:
ansible-playbook -i hosts.ini playbook.yml