X-Git-Url: https://gerrit.nordix.org/gitweb?p=infra%2Fstack%2Fkubernetes.git;a=blobdiff_plain;f=playbooks%2Froles%2Fpostinstall%2Ftasks%2Fconfigure-jumphost.yml;fp=playbooks%2Froles%2Fpostinstall%2Ftasks%2Fconfigure-jumphost.yml;h=a5dc9a6e8d4f50465198bea74004586b07ed9525;hp=3e0cfb55cf8917fb266f56d1f1e0dd6a40565cb2;hb=e3a66b1bc2152760d30fc5bb86fb2b1ab9c3ce23;hpb=fe97d89d279161727ca383b45fbf618797839b29 diff --git a/playbooks/roles/postinstall/tasks/configure-jumphost.yml b/playbooks/roles/postinstall/tasks/configure-jumphost.yml index 3e0cfb5..a5dc9a6 100644 --- a/playbooks/roles/postinstall/tasks/configure-jumphost.yml +++ b/playbooks/roles/postinstall/tasks/configure-jumphost.yml @@ -55,17 +55,24 @@ remote_src: true dest: /tmp -- name: Place helm and tiller binaries to /usr/local/bin +- name: Place helm binaries to /usr/local/bin copy: - src: "/tmp/linux-amd64/{{ item }}" + src: "/tmp/linux-amd64/helm" remote_src: true - dest: "/usr/local/bin/{{ item }}" + dest: "/usr/local/bin/helm" owner: root group: root mode: 0755 - with_items: - - helm - - tiller + +- name: Place tiller binaries to /usr/local/bin + copy: + src: "/tmp/linux-amd64/tiller" + remote_src: true + dest: "/usr/local/bin/tiller" + owner: root + group: root + mode: 0755 + when: helm_version is version('v3.0.0', '<') - name: Delete temporary files and folders file: