Skip to content
Snippets Groups Projects
Commit 1d7b3cb4 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#72 Always use import_tasks or include_tasks instead of just include

parent cb428494
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
- block: - block:
- include: spideroak.yml - import_tasks: spideroak.yml
when: '"spideroak" not in excluded_roles and spideroak_username is defined and spideroak_username != ""' when: '"spideroak" not in excluded_roles and spideroak_username is defined and spideroak_username != ""'
...@@ -24,9 +24,8 @@ ...@@ -24,9 +24,8 @@
state='installed' state='installed'
update_cache=yes update_cache=yes
- include_tasks: register.yml - import_tasks: register.yml
when: spideroak_available is defined and spideroak_available.stdout != '/usr/bin/SpiderOakONE' when: spideroak_available is defined and spideroak_available.stdout != '/usr/bin/SpiderOakONE'
tags: 'always'
- name: "Stop SpiderOak" - name: "Stop SpiderOak"
service: service:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment