aboutsummaryrefslogtreecommitdiffstats
path: root/resources/roles/qtip-bootstrap/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/roles/qtip-bootstrap/tasks/main.yml')
-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'