From 4146b7a2576018129e1c28354024b086edcd217d Mon Sep 17 00:00:00 2001 From: Marcus Meurs Date: Mon, 9 Apr 2018 04:30:56 +0200 Subject: [PATCH] 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. --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 6410992..0b2aa25 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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: