summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-12-04 09:10:47 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-12-04 09:10:47 +0000
commit1de24fc5ac68ac4857a6dfb345fa405c42ba95f1 (patch)
tree3dca8e0fe66af8a97f59fe9e173d635000317d2d
parent389db16cdd7b4355e29481dc56545d5568e82fd2 (diff)
parent60f630095a640a2086cffebb791866efdf96f6f7 (diff)
Merge "xci: playbooks: Copy scenarios instead of symlinking them"
-rw-r--r--xci/playbooks/get-opnfv-scenario-requirements.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/xci/playbooks/get-opnfv-scenario-requirements.yml b/xci/playbooks/get-opnfv-scenario-requirements.yml
index 23aa1d41..a7b177ef 100644
--- a/xci/playbooks/get-opnfv-scenario-requirements.yml
+++ b/xci/playbooks/get-opnfv-scenario-requirements.yml
@@ -44,11 +44,9 @@
delay: "{{ git_clone_retry_delay }}"
- name: Plug in the roles to XCI
- file:
- state: link
- src: "{{ item.path | default(scenario_path_default) }}/{{ item.scenario | default(item.src | basename) }}/{{ item.role }}"
- dest: "{{ role_path_default }}/{{ item.scenario }}"
- force: yes
+ shell: >-
+ cp -a {{ item.path | default(scenario_path_default) }}/{{ item.scenario | default(item.src | basename) }}/{{ item.role }}
+ {{ role_path_default }}/{{ item.scenario }}
with_items: "{{ scenarios }}"
vars: