Commit Graph

62 Commits (v1.2.0)

Author SHA1 Message Date
Marcus b5cca4baa5
Merge pull request #25 from m4rcu5nl/develop
Release 1.2.0
2018-12-02 18:58:49 +01:00
Marcus Meurs bd95d5ba84 Update to include #23 2018-12-01 08:20:09 +01:00
Marcus Meurs 71dfa9656e Fixed Ansible Galaxy warnings
Also added a license. Went for GPLv3 since it's the license used for the Ansible project itself.
2018-12-01 06:42:33 +01:00
Marcus Meurs f3c9d6d2d0 Drop privilege at block level
Apparently `local_action` and `delegate_to` handle `become: false` differently. The later ignored it when it was done at task level.
2018-12-01 05:56:20 +01:00
Marcus 6118217734
Merge pull request #23 from G10h4ck/auth_delegation
Make authentication delegation configurable
2018-10-15 19:04:18 +02:00
Marcus 322a098af0
Merge pull request #22 from PercyJax/patch-1
Update package manager cache before install
2018-10-15 18:55:59 +02:00
Gio d2c2e6494c
Make authentication delegation configurable
Before this commit the authentication task was runned as a local_action
so if the zerotier controller was on a different machine that the
ansible controller, the zerotier controller API had to bind to 0.0.0.0
instead of 127.0.0.1 with the security implication this burden this
imply (setup HTTPS, setup firewall and so on).
With this commit this behaviour is now configurable with zerotier_api_delegate
variable, by default that variable is set to localhost so it behave
exactly as before this commit, but if set the action is run on the
preferred machine, in my case the zerotier network controller is part of
the same playbook so I set
    zerotier_api_delegate: zerotierNetworkControllerMachineName
    zerotier_api_url: http://127.0.0.1:9993/
So I can benefit from this ansible role without the burden of setting up
global listening + HTTPS etc...
2018-10-15 18:08:01 +02:00
PercyJax e04ba73642
Update package manager cache before install
As it currently stands, after the repo is added, apt-get update (or equivalent) is not performed, and zerotier-one install fails.
2018-09-25 13:44:55 -04:00
Marcus 89c5635b5d
Merge pull request #21 from m4rcu5nl/develop
Fixing import error
2018-07-26 00:23:23 +02:00
Marcus Meurs 2a0250b71d Remove company field
It caused an error during galaxy import
2018-07-26 00:18:29 +02:00
Marcus Meurs 2be4c83c55 Merge remote-tracking branch 'origin/develop' into develop 2018-07-26 00:17:21 +02:00
Marcus Meurs 378140b1c4 Update meta file
Added Fedora 28 support
2018-07-26 00:17:01 +02:00
Marcus Meurs 40848fb0ff Merge remote-tracking branch 'origin/develop' into develop 2018-07-26 00:16:45 +02:00
Marcus 8a8db43397
Merge pull request #20 from m4rcu5nl/develop
Version 1.1.0
2018-07-26 00:01:52 +02:00
Marcus Meurs 1dea8eb5ab Update meta file
Added Fedora 28 support
2018-07-25 23:46:15 +02:00
Marcus d089ef4aaf
Merge pull request #19 from zhaofengli/master
Add Arch Linux support
2018-07-25 23:42:01 +02:00
Marcus Meurs c6f5836dc7 Merge branch 'feature/api_workaround' into develop 2018-07-25 23:21:20 +02:00
Marcus Meurs 3de2e738d4 2 separate API calls
- authorize member
- configure member

This is a workaround for the issue described in #17
2018-07-25 23:19:47 +02:00
Zhaofeng Li 10fd2fd498 Add Arch Linux support 2018-07-25 23:03:35 +08:00
Marcus 1a235172aa
Merge pull request #18 from etcet/add-fedora-repo
Add repo for Fedora
2018-05-14 00:04:29 +02:00
Chris 33c53916c0 Add repo for Fedora 2018-05-10 12:55:33 -05:00
Marcus Meurs 54f3f0bcc0 Merge branch 'feature/improve_performance' into develop 2018-04-09 05:36:28 +02:00
Marcus Meurs 4146b7a257 Option to skip installation
Give the user an option to skip the installation tasks. There's no real need to download the pgp key and packages again when all you want to do is reconfigure existing members.
2018-04-09 04:30:56 +02:00
Marcus Meurs 31e25cb3f0 Make API call local_action
Having the controller talk to the ZeroTier API instead of connecting to the target hosts and make them do it is much faster.
2018-04-05 11:32:19 +02:00
Marcus Meurs 7b9f5d02a3 Conditional installation
Don't import installation tasks when the zt0 interface is present on target host.
2018-04-05 11:23:07 +02:00
Marcus 6afd96758f
Merge pull request #16 from m4rcu5nl/develop
Version 1
2018-04-05 02:18:34 +02:00
Marcus Meurs 8564a01220 Merge branch 'feature/optional_member_description' into develop 2018-04-05 01:32:27 +02:00
Marcus Meurs 8f5f3c7181 Description option added
- Added description to API call. Defaults to empty string.
- Variable descriptoin and example added to readme
2018-04-05 01:32:16 +02:00
Marcus Meurs b5544a53aa Tests as filters deprecated
"Using Ansible-provided Jinja tests as filters is deprecated and will be removed in Ansible 2.9."
2018-04-05 00:20:10 +02:00
Marcus Meurs 5a8ff53813 Better ip_assignments example
Setting that variable on play level would try to assign the same list of ip addresses to every host in servers group.
2018-04-05 00:12:35 +02:00
Marcus Meurs 1471a825b2 Bump versions 2018-04-04 02:18:32 +02:00
Marcus 401536c7db
Merge pull request #15 from andyshinn/fixes
Some fixes, changes, and modularizing
2018-04-04 01:50:34 +02:00
Andy Shinn f1cc5c4e49 somes fixups 2018-02-15 19:59:14 -06:00
Marcus c6cacd05ef
Merge pull request #12 from flantel/master
Update install.yml to fix fresh Debian install.
2018-02-04 23:43:19 +01:00
Marcus 9f9e2deaac
Merge branch 'master' into master 2018-02-04 23:38:45 +01:00
Barry Flanagan 054d554a4d
Update install.yml to fix fresh Debian install.
Fresh install was failing if the zerotier repo did not exist. Changed the initial check to check the existence of the zerotier repo file.
2018-02-04 22:31:33 +00:00
Marcus f82ab21515
Merge pull request #11 from m4rcu5nl/develop
Debian support added
2018-01-29 22:29:36 +01:00
Marcus Meurs 03786a8f7d Added Debian support to meta file
Also removed "yum repo" from readme to reflect multi platform support.
2018-01-29 22:21:51 +01:00
Marcus 3b0cdf725f
Merge pull request #10 from flantel/master
Add support for Debian distros
2018-01-29 21:45:23 +01:00
Barry flanagan 5ab3e67331 Add support for Debian distros 2018-01-29 15:11:08 +00:00
Marcus 097a4f055b
Merge pull request #9 from m4rcu5nl/develop
Bug fixes
2017-12-17 05:59:41 +01:00
Marcus 62682def92
Merge pull request #8 from m4rcu5nl/feature/skip_tasks_in_check_mode
Resolved errors in check-mode
2017-12-17 05:52:44 +01:00
Marcus Meurs c90f7556c2 Resolved errors in check-mode
Fixes #3
2017-12-17 05:49:36 +01:00
Marcus 9b6296e678
Merge pull request #7 from m4rcu5nl/feature/import_tasks_propperly
Move away from deprecated way to include tasks
2017-12-17 05:40:03 +01:00
Marcus Meurs 51d2085c02 Move away from deprecated way to include tasks
Fixes #6
2017-12-17 05:32:14 +01:00
Marcus e70be64ef7 Merge pull request #5 from gbraad/patch-1
Change headers for rendering
2017-09-11 16:51:46 +02:00
Gerard Braad 769e901ca1 Change headers for rendering
... and make example into code-block with syntax definition
2017-09-11 11:33:20 +08:00
Marcus 771661816f Merge pull request #2 from m4rcu5nl/develop
First beta release
2017-07-27 02:27:20 +02:00
Marcus Meurs e5a94559b8 Added badges 2017-07-27 02:21:35 +02:00
Marcus 50f5de3bea Merge pull request #1 from m4rcu5nl/feature/prepare-release
Readme, meta and Travis config added
2017-07-27 02:15:07 +02:00