From: Kuralamudhan Ramakrishnan Date: Mon, 11 Nov 2019 21:55:31 +0000 (-0800) Subject: Optimizing the onap4k8s for all deployment model X-Git-Tag: 0.6.0~103 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F64%2F98264%2F1;p=multicloud%2Fk8s.git Optimizing the onap4k8s for all deployment model Issue-ID: MULTICLOUD-927 Co-authored-by: Itohan Ukponmwan Signed-off-by: Kuralamudhan Ramakrishnan Change-Id: I97019f3ab06c948b77e189f526c4e217e7706fb6 --- diff --git a/kud/deployment_infra/playbooks/configure-onap4k8s.yml b/kud/deployment_infra/playbooks/configure-onap4k8s.yml index cacb41c9..11729171 100644 --- a/kud/deployment_infra/playbooks/configure-onap4k8s.yml +++ b/kud/deployment_infra/playbooks/configure-onap4k8s.yml @@ -19,6 +19,14 @@ repo: 'https://github.com/onap/multicloud-k8s.git' dest: /opt/multicloud + - name: install make package for ubuntu systems + apt: name=make state=present update_cache=yes + when: ansible_distribution == "Ubuntu" + + - name: install make package for centos systems + yum: name=make state=present update_cache=yes + when: ansible_distribution == "CentOS" + - name: Change the onap4k8s directory and run the command make repo command: /usr/bin/make repo register: make_repo