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.
This commit is contained in:
Marcus Meurs
2018-12-04 05:00:38 +01:00
parent 618ae55bd7
commit 4dac8000fc
4 changed files with 40 additions and 23 deletions

View File

@@ -1,7 +1,8 @@
---
# defaults file for ansible-role-zerotier
zerotier_api_accesstoken: "{{ zerotier_accesstoken | default() }}" # For backwards compatibility
zerotier_api_url: https://my.zerotier.com
zerotier_api_delegate: localhost
zerotier_apt_state: present
zerotier_register_short_hostname: false
zerotier_member_register_short_hostname: "{{ zerotier_register_short_hostname | default(false) }}" # For backwards compatibility
zerotier_authorize_member: true