Option to skip installation

Give the user an option to skip the installation tasks. There's no real need to download the pgp key and packages again when all you want to do is reconfigure existing members.
pull/20/head
Marcus Meurs 2018-04-09 04:30:56 +02:00
parent 31e25cb3f0
commit 4146b7a257
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# tasks file for ansible-role-zerotier
- import_tasks: install.yml
when:
- "'zt0' not in ansible_interfaces"
- not skip_install|default(false)|bool
- import_tasks: authorize_node.yml
when: