Move bootstrap-scenarios.yml to common playbooks directory 93/54293/4
authorwutianwei <wutianwei1@huawei.com>
Thu, 22 Mar 2018 08:11:52 +0000 (16:11 +0800)
committerwutianwei <wutianwei1@huawei.com>
Thu, 22 Mar 2018 11:38:36 +0000 (19:38 +0800)
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 <wutianwei1@huawei.com>
xci/installer/osa/playbooks/configure-opnfvhost.yml
xci/playbooks/bootstrap-scenarios.yml [moved from xci/installer/osa/playbooks/bootstrap-scenarios.yml with 100% similarity]

index 3a904ae..47e9a65 100644 (file)
       shell: "/bin/cp -rf {{ remote_xci_path }}/xci/installer/osa/files/openstack_services.yml {{openstack_osa_path}}/playbooks/defaults/repo_packages/openstack_services.yml"
       when:
         - openstack_osa_version != "master"
-    - include: bootstrap-scenarios.yml
+    - include: "{{ xci_path }}/xci/playbooks/bootstrap-scenarios.yml"
     - name: bootstrap ansible on opnfv host
       command: "/bin/bash ./scripts/bootstrap-ansible.sh"
       args: