Description option added

- Added description to API call. Defaults to empty string.
- Variable descriptoin and example added to readme
This commit is contained in:
Marcus Meurs
2018-04-05 01:32:16 +02:00
parent b5544a53aa
commit 8f5f3c7181
2 changed files with 23 additions and 1 deletions

View File

@@ -17,6 +17,7 @@
Authorization: bearer {{ zerotier_accesstoken }}
body:
name: "{{ zerotier_register_short_hostname | ternary(inventory_hostname_short, inventory_hostname) }}"
description: "{{ zerotier_member_description | default() }}"
hidden: false
config:
authorized: "{{ zerotier_authorize_member }}"