Skip to content

Ansible role to install OpenVPN and deploy hybrid clusters with EC3

License

Notifications You must be signed in to change notification settings

infn-datacloud/ansible-role-openvpn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Build Status

OpenVPN Role

Ansible role to install OpenVPN to enable deploying hybrid elastic clusters.

Role Variables

The variables that can be passed to this role and a brief description about them are as follows.

# Type of the node: front or wn
openvpn_type_of_node: "front"
# Hostname of the front node
openvpn_frontname: "slurmserver"
# Flag to specify if the wn role will manage the /etc/hosts file to set the VPN net ips
manage_etc_hosts: true
# VPN subnet
openvpn_server_net: 10.8.0.0
# VPN subnet mask
openvpn_server_net_mask: 255.255.255.0
# VPN server IP (must be the first IP of the openvpn_server_net)
openvpn_server_vpn_ip: 10.8.0.1

Example Playbook

  - hosts: server
  roles:
  - { role: 'indigo-dc.openvpn', openvpn_type_of_node: "front" }
  - hosts: client
  roles:
  - { role: 'indigo-dc.openvpn', openvpn_type_of_node: "wn" }

Contributing to the role

In order to keep the code clean, pushing changes to the master branch has been disabled. If you want to contribute, you have to create a branch, upload your changes and then create a pull request.
Thanks

About

Ansible role to install OpenVPN and deploy hybrid clusters with EC3

Resources

License

Stars

Watchers

Forks

Packages

No packages published