Skip to content

About

An Ansible role for managing Proton VPN installations

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible ProtonVPN

An Ansible role for managing Proton VPN installations.

Requirements / Dependencies

This role requires the Ansible collection community.general to be installed on the system.

This role requires the python package jsonschema to be installed on the system.

pip install jsonschema

Setup

Before the role can be used it needs to be added to the machine running the playbook, and as of writing this, this role is not hosted on Ansible-Galaxy only on Github.

  1. Create a requirements.yml file in the root directory of the playbook being worked on.

  2. Add the following definition inside the requirements.yml file:

roles:
- name: hth-protonvpn
  src: https://github.com/hrafnthor/ansible-proton-vpn.git
  scm: git
collections:
 - name: community.general
  1. Install the requirements by executing
ansible-galaxy install -r .requirements.yml

This will allow any playbook run from this machine to use the role hth-protonvpn

Input variables

The role listens to the following inputs:

protonvpn:
  remove: 			[bool]		Indicates if the client and repository information should be removed. Defaults to false.
  gather_facts:	[bool]		Indicates that the role should gather facts before attempting to make any changes. Defaults to true
  systray: 			[bool]		Indicates that dependencies for Gnome system tray display should be installed. Defaults to false.
  version:
    name: 			[string]	The numerical name of the version repository package to install
    checksum: 	[string]	The checksum of the package.

The checksum can be found on ProtonVPN's own webpage here.

Example

protonvpn:
  remove: false
  gather_facts: true
  systray: true
  version:
    name: "1.0.8"
    checksum: "0b14e71586b22e498eb20926c48c7b434b751149b1f2af9902ef1cfe6b03e180"

License

Apache 2.0. See attached license file.

Author Information

Hrafn Thorvaldsson.

http://www.hth.is

About

An Ansible role for managing Proton VPN installations

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages