diff options
author | 2019-07-18 12:01:51 +0300 | |
---|---|---|
committer | 2019-08-05 15:06:45 +0200 | |
commit | 02cb076db485fde5500093d35abbf31d0d038978 (patch) | |
tree | 3dc0c07957458b27c16adbe37c6db9e7e188cb45 /xci/installer | |
parent | 0d6907e04a51aface7ed6cd456f4e20f2d2ad0e2 (diff) |
Support of opensuse in OSH-XCI
deploy-scenario:k8-calico-nofeature
installer-type:osh
Change-Id: Ie198ee7e25579f1438561f71fd965518b067fe42
Signed-off-by: Nikos Mimigiannis <nmimi@intracom-telecom.com>
Diffstat (limited to 'xci/installer')
3 files changed, 22 insertions, 2 deletions
diff --git a/xci/installer/osh/playbooks/install-openstack-helm.yml b/xci/installer/osh/playbooks/install-openstack-helm.yml index 10d8d6d4..a16572a5 100644 --- a/xci/installer/osh/playbooks/install-openstack-helm.yml +++ b/xci/installer/osh/playbooks/install-openstack-helm.yml @@ -11,11 +11,14 @@ remote_user: root vars_files: - "{{ xci_path }}/xci/var/opnfv.yml" - roles: - role: prepare-opnfvhost-osh - role: prepare-osh - role: install-osh-mini when: xci_flavor == 'mini' + environment: + - CONTAINER_DISTRO_NAME: "{{ container_distro_name }}" + - CONTAINER_DISTRO_VERSION: "{{ container_distro_version }}" + - OPENSTACK_RELEASE: "{{ openstack_osh_version }}" - role: install-osh-noha when: xci_flavor == 'noha' diff --git a/xci/installer/osh/playbooks/roles/install-osh-mini/tasks/main.yml b/xci/installer/osh/playbooks/roles/install-osh-mini/tasks/main.yml index c9d23dd1..e3fa2ddf 100644 --- a/xci/installer/osh/playbooks/roles/install-osh-mini/tasks/main.yml +++ b/xci/installer/osh/playbooks/roles/install-osh-mini/tasks/main.yml @@ -1,3 +1,20 @@ +--- +- set_fact: + container_distro_name: "opensuse" + container_distro_version: "15" + cacheable: yes + when: osh_distro == 'opensuse' + tags: + - skip_ansible_lint + +- set_fact: + container_distro_name: "ubuntu" + container_distro_version: "xenial" + cacheable: yes + when: osh_distro == 'ubuntu' + tags: + - skip_ansible_lint + - name: Setup Clients command: ./tools/deployment/common/setup-client.sh changed_when: false diff --git a/xci/installer/osh/playbooks/roles/prepare-opnfvhost-osh/vars/main.yml b/xci/installer/osh/playbooks/roles/prepare-opnfvhost-osh/vars/main.yml index d42392ef..53188bdb 100644 --- a/xci/installer/osh/playbooks/roles/prepare-opnfvhost-osh/vars/main.yml +++ b/xci/installer/osh/playbooks/roles/prepare-opnfvhost-osh/vars/main.yml @@ -1,7 +1,7 @@ +--- required_packages: - patch - ipcalc - jq - nmap - bc - |