From 5f5aa01c0f757ff3a9eb55eb978b98e45f23a079 Mon Sep 17 00:00:00 2001 From: Milan Verespej Date: Fri, 8 Feb 2019 15:30:39 +0100 Subject: Change helm plugin install to copy module Since helm plugin install command is not the most suitable for Ansible and it basically just creates link to plugin original location this change is using Ansible's copy module instead. Plugin is copied from install server because copy module doesn't support recursive directory copying with remote_src option. Issue-ID: OOM-1638 Change-Id: I9e9dcd8d33f8917296f576c2b34c0c576c9c126c Signed-off-by: Milan Verespej --- ansible/roles/application-install/tasks/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ansible/roles/application-install/tasks/install.yml') diff --git a/ansible/roles/application-install/tasks/install.yml b/ansible/roles/application-install/tasks/install.yml index ab17aba4..5246bf2f 100644 --- a/ansible/roles/application-install/tasks/install.yml +++ b/ansible/roles/application-install/tasks/install.yml @@ -55,7 +55,7 @@ - name: Check for deploy plugin presence stat: - path: '~/.helm/plugins/deploy/deploy.sh' + path: '{{ helm_home_dir.stdout }}/plugins/deploy/deploy.sh' register: deploy_plugin_presence - name: "Helm Install application {{ app_name }}" -- cgit 1.2.3-korg