summaryrefslogtreecommitdiffstats
path: root/xci/installer/osh/playbooks/roles/install-osh-mini/tasks
diff options
context:
space:
mode:
authorNikos Mimigiannis <nmimi@intracom-telecom.com>2019-07-18 12:01:51 +0300
committerManuel Buil <mbuil@suse.com>2019-08-05 15:06:45 +0200
commit02cb076db485fde5500093d35abbf31d0d038978 (patch)
tree3dc0c07957458b27c16adbe37c6db9e7e188cb45 /xci/installer/osh/playbooks/roles/install-osh-mini/tasks
parent0d6907e04a51aface7ed6cd456f4e20f2d2ad0e2 (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/osh/playbooks/roles/install-osh-mini/tasks')
-rw-r--r--xci/installer/osh/playbooks/roles/install-osh-mini/tasks/main.yml17
1 files changed, 17 insertions, 0 deletions
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