diff options
author | Jan Benedikt <j.benedikt@partner.samsung.com> | 2020-04-30 14:04:05 +0200 |
---|---|---|
committer | Jan Benedikt <j.benedikt@partner.samsung.com> | 2020-04-30 14:08:06 +0200 |
commit | b4cfa9b74e91941412c33c01656c34c6a198b8ea (patch) | |
tree | 2f4be0dc29be41659040ed10d568b3756a45c3d9 /ansible/roles | |
parent | 97009aaa3a8c1c12f1ea842581609992fc9506af (diff) |
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 <j.benedikt@partner.samsung.com>
Change-Id: I808dcb57396caf82a60d17f50515bae59b5d85ca
Diffstat (limited to 'ansible/roles')
-rw-r--r-- | ansible/roles/application/tasks/install.yml | 7 |
1 files changed, 7 insertions, 0 deletions
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 }}" |