summaryrefslogtreecommitdiffstats
path: root/xci/playbooks
diff options
context:
space:
mode:
Diffstat (limited to 'xci/playbooks')
-rw-r--r--xci/playbooks/get-opnfv-scenario-requirements.yml18
1 files changed, 9 insertions, 9 deletions
diff --git a/xci/playbooks/get-opnfv-scenario-requirements.yml b/xci/playbooks/get-opnfv-scenario-requirements.yml
index f515c253..7eaa43de 100644
--- a/xci/playbooks/get-opnfv-scenario-requirements.yml
+++ b/xci/playbooks/get-opnfv-scenario-requirements.yml
@@ -106,19 +106,19 @@
- name: Determine if the selected {{ DEPLOY_SCENARIO }} scenario can be deployed
block:
- set_fact:
- deploy_scenario_nfvi: "{{ item }}"
- with_items: "{{ deploy_scenario.nfvis }}"
+ deploy_scenario_installer: "{{ item }}"
+ with_items: "{{ deploy_scenario.installers }}"
loop_control:
- label: "{{ item.nfvi }}"
- when: item.nfvi == XCI_NFVI
+ label: "{{ item.installer }}"
+ when: item.installer == XCI_INSTALLER
- set_fact:
- deploy_scenario_flavor: "{{ (XCI_FLAVOR in deploy_scenario_nfvi.flavors) | bool }}"
+ deploy_scenario_flavor: "{{ (XCI_FLAVOR in deploy_scenario_installer.flavors) | bool }}"
when:
- - deploy_scenario_nfvi
+ - deploy_scenario_installer
- set_fact:
- deploy_scenario_distro: "{{ (XCI_DISTRO in deploy_scenario_nfvi.distros) | bool }}"
+ deploy_scenario_distro: "{{ (XCI_DISTRO in deploy_scenario_installer.distros) | bool }}"
when:
- - deploy_scenario_nfvi
+ - deploy_scenario_installer
- deploy_scenario_flavor
when: deploy_scenario is defined
@@ -127,7 +127,7 @@
msg:
- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- ERROR! The {{ DEPLOY_SCENARIO }} scenario can't be deployed. This is because
- - the {{ XCI_NFVI }} NFVI or the {{ XCI_FLAVOR }} flavor or the {{ XCI_DISTRO }}
+ - the {{ XCI_INSTALLER }} XCI installer or the {{ XCI_FLAVOR }} flavor or the {{ XCI_DISTRO }}
- distribution is not supported by this scenario. It may also be possible that
- this scenario doesn't exist at all or it's not listed in {{ scenario_file }}.
- ''