Commit Graph

11 Commits (95d9213746890a6ebed41c180789e3d2e2909448)

Author SHA1 Message Date
Marcus Meurs 95d9213746 Adds network device to ansible_local.zerotier
Also removes the conditional for skipping installation based on ansible_local.zerotier value. Skipping tasks like that should be up to the user, not the role.
2018-12-07 23:40:48 +01:00
Marcus Meurs 4dac8000fc Variable naming convention
Updated 2 variable names to follow naming convention. For backwards compatibility the old names are rewritten to the new ones in the role's defaults.
2018-12-04 05:00:38 +01:00
Marcus Meurs c03c2b5a3f Set custom facts persistently
Create /etc/ansible/facts.d/zerotier.fact on each node containing custom facts in json format. This can then be used to prevent pointless reconfiguration of existing nodes whenever a new one is added to the inventory. In this commit it merely skips the installation tasks.
2018-12-03 07:05:37 +01: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 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
Andy Shinn f1cc5c4e49 somes fixups 2018-02-15 19:59:14 -06:00
Marcus Meurs c90f7556c2 Resolved errors in check-mode
Fixes #3
2017-12-17 05:49:36 +01:00
Marcus Meurs 51d2085c02 Move away from deprecated way to include tasks
Fixes #6
2017-12-17 05:32:14 +01:00
Marcus Meurs c9b9eca84a Join network
Add members to private Zerotier network and authorize them. Lets members join the network afterwards.
2017-07-27 00:48:55 +02:00
Marcus Meurs cddaf793e8 Add installation tasks
Add Zerotier repo and it's pgp key. Install zerotier-one.
2017-07-27 00:23:20 +02:00
Marcus Meurs bbb264d0d5 ansible-galaxy init 2017-07-26 23:44:44 +02:00