Skip to content

Commit

Permalink
allow overwrite linking stag
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanclerz committed Mar 29, 2017
1 parent 4ee2286 commit 11086a7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ deploy:
shared_dirs: []
shared_files: []
templated_files: []
rsync_opts: []
rsync_opts: []

__deploy_project_link_shared_task: link_shared.yml
7 changes: 6 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
---
- name: Define variables.
set_fact:
deploy_project_link_shared_task: "{{ __deploy_project_link_shared_task }}"
when: deploy_project_link_shared_task is not defined

- include: register_variables.yml
- include: handle_previous.yml
- include: pull_repository.yml
- include: templated_files.yml
- include: link_shared.yml
- include: "{{deploy_project_link_shared_task}}"
- include: ensure_writables.yml

0 comments on commit 11086a7

Please sign in to comment.