Commit Graph

5 Commits (a9fa164ebecec88b52f5f7bdc09313408bb20273)

Author SHA1 Message Date
Marcus Meurs 5431276c8e Missed a pretty important comma 2018-12-08 02:25:12 +01:00
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 046415b168 Fix for loop generating invalid json 2018-12-04 02:48:29 +01:00
Marcus Meurs 672c67e087 Reduce unnecessary API calls
The role will no longer make API calls to authorize already authorized members to a network.
2018-12-04 01:34:39 +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