summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xci/playbooks/get-opnfv-scenario-requirements.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/xci/playbooks/get-opnfv-scenario-requirements.yml b/xci/playbooks/get-opnfv-scenario-requirements.yml
index ec2f0d0e..b44c50b4 100644
--- a/xci/playbooks/get-opnfv-scenario-requirements.yml
+++ b/xci/playbooks/get-opnfv-scenario-requirements.yml
@@ -66,9 +66,9 @@
label: "{{ item.scenario }}"
- name: Plug in the scenario to XCI
- shell: >-
- cp -a {{ scenario_path_default }}/{{ item.item.scenario }}/{{ item.item.role }}
- {{ role_path_default }}/{{ item.item.scenario }}
+ synchronize:
+ src: "{{ scenario_path_default }}/{{ item.item.scenario }}/{{ item.item.role }}/"
+ dest: "{{ role_path_default }}/{{ item.item.scenario }}"
when: item.stat.exists
with_items: "{{ scenarios_list_exists.results }}"
loop_control:
@@ -87,9 +87,9 @@
label: "{{ item.item.scenario }}"
- name: Plug in the scenario to XCI (fallback)
- shell: >-
- cp -a {{ XCI_PATH }}/{{ item.item.role }}
- {{ role_path_default }}/{{ item.item.scenario }}
+ synchronize:
+ src: "{{ XCI_PATH }}/{{ item.item.role }}/"
+ dest: "{{ role_path_default }}/{{ item.item.scenario }}"
when: not item.stat.exists
with_items: "{{ scenarios_list_exists.results }}"
loop_control: