From 6ca2019002eb28a4ae373a2cf74677b972b65e9f Mon Sep 17 00:00:00 2001
From: gitareest <gitareest@gmail.com>
Date: Thu, 25 Apr 2019 13:58:47 +0200
Subject: [PATCH] Fix issue with etcd arm host installation case (#4589)

Use host_architecture variable.
---
 roles/etcd/tasks/install_host.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/etcd/tasks/install_host.yml b/roles/etcd/tasks/install_host.yml
index 66d4e3d9a..0f5f5d3d8 100644
--- a/roles/etcd/tasks/install_host.yml
+++ b/roles/etcd/tasks/install_host.yml
@@ -1,7 +1,7 @@
 ---
 - name: install | Copy etcd and etcdctl binary from download dir
   copy:
-    src: "{{ local_release_dir }}/etcd-{{ etcd_version }}-linux-amd64/{{ item }}"
+    src: "{{ local_release_dir }}/etcd-{{ etcd_version }}-linux-{{ host_architecture }}/{{ item }}"
     dest: "{{ bin_dir }}/{{ item }}"
     mode: 0755
     remote_src: yes
-- 
GitLab