diff options
author | Fatih Degirmenci <fdegir@gmail.com> | 2017-12-19 17:21:13 +0100 |
---|---|---|
committer | Fatih Degirmenci <fdegir@gmail.com> | 2017-12-19 17:21:13 +0100 |
commit | e459bf585793de447f0db0079f3faf37a19380d5 (patch) | |
tree | 4f4dd9e683616e654b4b439af3c0d7d7482944a1 /xci/playbooks | |
parent | cf2cd4e4b87a5e392bc4ba49749a349925ba2f86 (diff) |
Rename variable OPNFV_SCENARIO to DEPLOY_SCENARIO
Rest of the OPNFV projects use the variable DEPLOY_SCENARIO so
XCI should be aligned with them as well even though OPNFV_SCENARIO
fits better than DEPLOY_SCENARIO.
Change-Id: Id48c41fa8a1fa9493cfc7a4906f64b6d8ed27d64
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Diffstat (limited to 'xci/playbooks')
-rw-r--r-- | xci/playbooks/bootstrap-scenarios.yml | 8 | ||||
-rw-r--r-- | xci/playbooks/get-opnfv-scenario-requirements.yml | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/xci/playbooks/bootstrap-scenarios.yml b/xci/playbooks/bootstrap-scenarios.yml index 50f7b246..98acf73b 100644 --- a/xci/playbooks/bootstrap-scenarios.yml +++ b/xci/playbooks/bootstrap-scenarios.yml @@ -7,17 +7,17 @@ # - name: Include foobar role # include_role: # name: "foobar" -# when: OPNFV_SCENARIO == "foobar" +# when: DEPLOY_SCENARIO == "foobar" - name: Prepare everything to run the os-nosdn-nofeature scenario include_role: name: "os-nosdn-nofeature" - when: OPNFV_SCENARIO == 'os-nosdn-nofeature' + when: DEPLOY_SCENARIO == 'os-nosdn-nofeature' - name: Prepare everything to run the os-odl-nofeature scenario include_role: name: "os-odl-nofeature" - when: OPNFV_SCENARIO == 'os-odl-nofeature' + when: DEPLOY_SCENARIO == 'os-odl-nofeature' - name: Prepare everything to run the os-odl-sfc scenario include_role: name: "os-odl-sfc" - when: OPNFV_SCENARIO == 'os-odl-sfc' + when: DEPLOY_SCENARIO == 'os-odl-sfc' diff --git a/xci/playbooks/get-opnfv-scenario-requirements.yml b/xci/playbooks/get-opnfv-scenario-requirements.yml index 173b825e..944bf53c 100644 --- a/xci/playbooks/get-opnfv-scenario-requirements.yml +++ b/xci/playbooks/get-opnfv-scenario-requirements.yml @@ -83,19 +83,19 @@ loop_control: label: "{{ item.item.scenario }}" - - name: Determine if selected {{ OPNFV_SCENARIO }} scenario can be deployed + - name: Determine if selected {{ DEPLOY_SCENARIO }} scenario can be deployed set_fact: deploy_scenario_on_flavor: XCI_FLAVOR in item.flavors - when: OPNFV_SCENARIO == item.scenario + when: DEPLOY_SCENARIO == item.scenario with_items: "{{ scenarios }}" loop_control: label: "{{ item.scenario }}" - - name: Fail if {{ XCI_FLAVOR }} is not supported in {{ OPNFV_SCENARIO }} + - name: Fail if {{ XCI_FLAVOR }} is not supported in {{ DEPLOY_SCENARIO }} fail: msg: - ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - - ERROR! The {{ OPNFV_SCENARIO }} scenario does not support the {{ XCI_FLAVOR }} + - ERROR! The {{ DEPLOY_SCENARIO }} scenario does not support the {{ XCI_FLAVOR }} - '' - This is a great chance for you to contribute to XCI ;-) - ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |