diff options
author | 2017-04-21 03:45:45 +0000 | |
---|---|---|
committer | 2017-04-21 03:45:45 +0000 | |
commit | 441dea324dc2442b746528e0337a539c18b85b2f (patch) | |
tree | bcd4d5f1c7982b18cda123246007fa9314a10bd2 /resources/roles/qtip-bootstrap/tasks | |
parent | 1227dc7e737e9946f316c7693232a9f5cbe166ed (diff) | |
parent | a6d8313b300453c15e7c2438979db6253b6e6819 (diff) |
Merge "Fix workspace creator"
Diffstat (limited to 'resources/roles/qtip-bootstrap/tasks')
-rw-r--r-- | resources/roles/qtip-bootstrap/tasks/main.yml | 18 |
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' |