Skip to content

Commit

Permalink
[FIX] use include_tasks instead of import_tasks so that steamengine_p…
Browse files Browse the repository at this point in the history
…roject_type can be defined in group vars
  • Loading branch information
Elie Liabeuf committed Apr 10, 2019
1 parent cfc9420 commit 109d2b1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@
- "steamengine_project_type is defined"
- "steamengine_project_type in steamengine_project_types"

- import_tasks: "{{ steamengine_project_type }}/asserts.yml"
- include_tasks: "{{ steamengine_project_type }}/asserts.yml"

- import_tasks: common/install_deps.yml
- include_tasks: common/install_deps.yml
tags: dependencies

- import_tasks: common/user.yml
- include_tasks: common/user.yml
tags: user

- import_tasks: common/structure.yml
- include_tasks: common/structure.yml
tags: structure

- import_tasks: "{{ steamengine_project_type }}/deploy.yml"
- include_tasks: "{{ steamengine_project_type }}/deploy.yml"
when: steamengine_build_url is defined
tags: deploy

- import_tasks: common/runtime.yml
- include_tasks: common/runtime.yml
tags: runtime

- import_tasks: "{{ steamengine_project_type }}/runtime.yml"
- include_tasks: "{{ steamengine_project_type }}/runtime.yml"
tags: runtime

0 comments on commit 109d2b1

Please sign in to comment.