Go to file
Marcus 771661816f Merge pull request #2 from m4rcu5nl/develop
First beta release
2017-07-27 02:27:20 +02:00
defaults Default Zerotier API url added 2017-07-27 00:47:24 +02:00
handlers Add handlers 2017-07-27 00:24:07 +02:00
meta Readme, meta and Travis config added 2017-07-27 01:58:44 +02:00
tasks Join network 2017-07-27 00:48:55 +02:00
tests ansible-galaxy init 2017-07-26 23:44:44 +02:00
vars ansible-galaxy init 2017-07-26 23:44:44 +02:00
.travis.yml Readme, meta and Travis config added 2017-07-27 01:58:44 +02:00
README.md Added badges 2017-07-27 02:21:35 +02:00

README.md

Build Status GitHub issues

Zerotier

This Ansible role installs the zerotier-one package from Zerotier's yum repo, adds and authorizes new members to (existing) Zerotier network and tells the new members to join the network.

Requirements

This roles requires an access token for the Zerotier API. This enables the role to add new members to a private network and authorizes them. Also, the role needs the network ID of the Zerotier network the new members should join.

Role Variables

###zerotier_api_url The url where the Zerotier API lives. Must use https protocol.
Default: https://my.zerotier.com

###zerotier_accesstoken The access token needed to authorize with the Zerotier API. You can generate one in your account settings on my.zerotier.com.

###zerotier_network_id (required) The 16 character network ID of the network the new members should join.

Example Playbook

- hosts: servers
  vars:
     zerotier_network_id: 1234567890qwerty
     zerotier_accesstoken: "{{ vault_zerotier_accesstoken }}"
  roles:
     - { role: m4rcu5nl.zerotier }