aboutsummaryrefslogtreecommitdiffstats
path: root/resources/roles/qtip-bootstrap/tasks
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-21 03:45:45 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-04-21 03:45:45 +0000
commit441dea324dc2442b746528e0337a539c18b85b2f (patch)
treebcd4d5f1c7982b18cda123246007fa9314a10bd2 /resources/roles/qtip-bootstrap/tasks
parent1227dc7e737e9946f316c7693232a9f5cbe166ed (diff)
parenta6d8313b300453c15e7c2438979db6253b6e6819 (diff)
Merge "Fix workspace creator"
Diffstat (limited to 'resources/roles/qtip-bootstrap/tasks')
-rw-r--r--resources/roles/qtip-bootstrap/tasks/main.yml18
1 files changed, 7 insertions, 11 deletions
diff --git a/resources/roles/qtip-bootstrap/tasks/main.yml b/resources/roles/qtip-bootstrap/tasks/main.yml
index 96d6c7d8..e198732b 100644
--- a/resources/roles/qtip-bootstrap/tasks/main.yml
+++ b/resources/roles/qtip-bootstrap/tasks/main.yml
@@ -9,17 +9,13 @@
- name: copy initial files
synchronize:
- src: "{{ item }}"
- dest: "{{ workspace }}"
- with_items:
- - group_vars
- - host_vars
- - fixtures
+ src: copy/
+ dest: "{{ workspace }}/"
- name: generate default configuration
template:
- src: "{{ item }}.j2"
- dest: "{{ workspace }}/{{ item }}"
- with_items:
- - ansible.cfg
- - hosts
+ src: "{{ item.src }}"
+ dest: "{{ workspace }}/{{ item.path }}"
+ force: yes
+ with_filetree: render
+ when: item.state == 'file'