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 <j.benedikt@partner.samsung.com>
Change-Id: I808dcb57396caf82a60d17f50515bae59b5d85ca
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 }}"