diff --git a/tasks/main.yml b/tasks/main.yml index 514b037ddc7f186806d590b9b68b254059c63ca3..e05134e0ba97eb4bd30fd43361aeb2134ed9c2b5 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -7,6 +7,6 @@ - block: - - include: spideroak.yml + - include_tasks: spideroak.yml when: '"spideroak" not in excluded_roles and spideroak_username is defined and spideroak_username != ""' diff --git a/tasks/spideroak.yml b/tasks/spideroak.yml index 95479a6d089f1846f431f3b1cf69d978a322b597..eaa8bb9ac8eec3acf54f9ff1d15e330c8613d3a9 100644 --- a/tasks/spideroak.yml +++ b/tasks/spideroak.yml @@ -24,7 +24,7 @@ state='installed' update_cache=yes -- include: register.yml +- include_tasks: register.yml when: spideroak_available is defined and spideroak_available.stdout != '/usr/bin/SpiderOakONE' - name: "Stop SpiderOak"