Skip to content

Commit

Permalink
Don't set ipAssignments if not set
Browse files Browse the repository at this point in the history
Lifted from m4rcu5nl#41
  • Loading branch information
mortenlj committed Mar 30, 2022
1 parent dbdb3fd commit e981c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/authorize_node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
name: "{{ zerotier_member_register_short_hostname | ternary(inventory_hostname_short, inventory_hostname) }}"
description: "{{ zerotier_member_description | default() }}"
config:
ipAssignments: "{{ zerotier_member_ip_assignments | default([]) | list }}"
ipAssignments: "{{ zerotier_member_ip_assignments | default() }}"
body_format: json
register: conf_apiresult
delegate_to: "{{ zerotier_api_delegate }}"
Expand Down

0 comments on commit e981c3e

Please sign in to comment.