From b4cfa9b74e91941412c33c01656c34c6a198b8ea Mon Sep 17 00:00:00 2001 From: Jan Benedikt Date: Thu, 30 Apr 2020 14:04:05 +0200 Subject: 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 --- ansible/roles/application/tasks/install.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ansible/roles') 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 }}" -- cgit 1.2.3-korg