aboutsummaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles/qtip-workspace/tasks/main.yml
diff options
context:
space:
mode:
authorTaseer <taseer94@gmail.com>2017-04-25 17:18:27 +0500
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-05-07 18:23:08 +0800
commitebf4e585a6bbc7a08c5e779ff9863436e44484d8 (patch)
tree2b3e0853ed0b601472af446b7944dbfba7919035 /resources/ansible_roles/qtip-workspace/tasks/main.yml
parent3f4432611417378eb56c962b1fbc5270722e77cb (diff)
Implement qtip workspace create
Change-Id: Ibd4213a6c4c86a7f4e8f99b16cba5055a3abba39 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'resources/ansible_roles/qtip-workspace/tasks/main.yml')
-rw-r--r--resources/ansible_roles/qtip-workspace/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/ansible_roles/qtip-workspace/tasks/main.yml b/resources/ansible_roles/qtip-workspace/tasks/main.yml
index 4331468d..4fa60061 100644
--- a/resources/ansible_roles/qtip-workspace/tasks/main.yml
+++ b/resources/ansible_roles/qtip-workspace/tasks/main.yml
@@ -9,7 +9,7 @@
- name: creating directories
file:
- path: "{{ workspace }}/{{ item.path }}"
+ path: "{{ cwd }}/{{ workspace }}/{{ item.path }}"
state: directory
force: yes
with_filetree: template/
@@ -18,7 +18,7 @@
- name: templating files
template:
src: "{{ item.src }}"
- dest: "{{ workspace }}/{{ item.path }}"
+ dest: "{{ cwd }}/{{ workspace }}/{{ item.path }}"
force: yes
with_filetree: template/
when: item.state == 'file'