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.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user