From 59a685e470e68368f96de9d672bd4a9dfa3f52fd Mon Sep 17 00:00:00 2001 From: wutianwei Date: Thu, 22 Mar 2018 16:11:52 +0800 Subject: Move bootstrap-scenarios.yml to common playbooks directory Move bootstrap-scenarios.yml from installer/osa/playbooks/bootstrap-scenarios.yml to playbooks/bootstrap-scenarios.yml as a common playbook. So we can use this file to bootstarap k8s-* scenarios, instead of creating a new file under installer/kubespray/playbooks/bootstrap-scenarios.yml Change-Id: Ic31ee00e1a0863f48fb86298d7c00fa8420fa28a Signed-off-by: wutianwei --- xci/playbooks/bootstrap-scenarios.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 xci/playbooks/bootstrap-scenarios.yml (limited to 'xci/playbooks/bootstrap-scenarios.yml') diff --git a/xci/playbooks/bootstrap-scenarios.yml b/xci/playbooks/bootstrap-scenarios.yml new file mode 100644 index 00000000..6546d5ce --- /dev/null +++ b/xci/playbooks/bootstrap-scenarios.yml @@ -0,0 +1,27 @@ +--- +# +# This file is aimed to be used by scenarios to plug into the XCI. +# Ideally, all they need to do at this point is to include their +# role using a statement like the following one +# +# - name: Include foobar role +# include_role: +# name: "foobar" +# when: deploy_scenario == "foobar" + +- name: Prepare everything to run the os-nosdn-nofeature scenario + include_role: + name: "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: deploy_scenario == 'os-odl-nofeature' +- name: Prepare everything to run the os-odl-sfc scenario + include_role: + name: "os-odl-sfc" + when: deploy_scenario == 'os-odl-sfc' +- name: Prepare everything to run the os-odl-bgpvpn scenario + include_role: + name: "os-odl-bgpvpn" + when: deploy_scenario == 'os-odl-bgpvpn' -- cgit 1.2.3-korg