Check for empty string with api token

This is a secret and should be encrypted.
Ansible Vault vars do not support `| length`.
pull/38/head
Cornelius Hoffmann 2020-11-14 12:08:27 +01:00
parent a9d5f3ac96
commit a38cc21da6
No known key found for this signature in database
GPG Key ID: 8513ED4852F7B071
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
- import_tasks: authorize_node.yml - import_tasks: authorize_node.yml
when: when:
- zerotier_api_accesstoken | length > 0 - zerotier_api_accesstoken != ''
- ansible_local['zerotier']['node_id'] is defined - ansible_local['zerotier']['node_id'] is defined
- import_tasks: join_network.yml - import_tasks: join_network.yml