Skip to content

keezel-co/portunus_provisioner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portunus Provisioner

This Ansible script will install Wireguard on a server and register that server with the Portunus API for automatic provisioning.

Requirements

Ansible >= 2.8 Portunus API instance Server token from Portunus API

New server installer

This script will help you to provision a new server. To do that you simply add your server to your Portunus API instance, get the server_token after registration and use them as parameters when executing the script:

Usage: ./deploy.sh <params> where params can be:
       -h To display this help and exit
       -t Token to use
       -w Portunus host/ip from where configuration is downloaded
       -s Host/ip of Wireguard server to provision
  Optional:
       -p Portunus port (default 2443)
       -u Remote user of wireguard's SSH (root or sudoable user) (default root)

Example: ./deploy.sh -t 5feb9792-add8-4d1c-8737-23b6313b4c8f -h portunus.example.com -w wireguard.example.com -u ubuntu

Testing with Vagrant

You can test the deployment in a vagrant virtual machine using the provided Vagrantfile

About

Cableguard remote server provisioner

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •