From: Jan Benedikt Date: Thu, 30 Apr 2020 12:04:05 +0000 (+0200) Subject: Adding Ubuntu support in Ansible - application role install make X-Git-Tag: 6.0.0-ONAP~11 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=b4cfa9b74e91941412c33c01656c34c6a198b8ea;p=oom%2Foffline-installer.git Adding Ubuntu support in Ansible - application role install make Helm using "make" package for building local helm repository. In Ubuntu distribution is this package missing so is necessary to install it. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt Change-Id: I808dcb57396caf82a60d17f50515bae59b5d85ca --- diff --git a/ansible/roles/application/tasks/install.yml b/ansible/roles/application/tasks/install.yml index 5cffdd07..81e145a7 100644 --- a/ansible/roles/application/tasks/install.yml +++ b/ansible/roles/application/tasks/install.yml @@ -46,6 +46,13 @@ when: "'local' not in helm_repo_list.stdout" changed_when: true # when executed its a changed type of action +# Make utility is missing in Ubuntu by default and it's necessary for building local helm repository +- name: Install build-essential + package: + name: build-essential + state: present + when: ansible_os_family == "Debian" + - name: Build local helm repository make: chdir: "{{ app_helm_charts_infra_directory }}"