From e9f9191eaee38815681638b97d1ebac395ea074d Mon Sep 17 00:00:00 2001 From: Ari LiVigni Date: Mon, 3 Sep 2018 12:14:13 -0400 Subject: [PATCH] Revert "use github api" --- .../minishift/tasks/install_minishift_bin.yml | 24 +++++++------------ 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/playbooks/roles/minishift/tasks/install_minishift_bin.yml b/playbooks/roles/minishift/tasks/install_minishift_bin.yml index 9fe1d36a..4d160ebd 100644 --- a/playbooks/roles/minishift/tasks/install_minishift_bin.yml +++ b/playbooks/roles/minishift/tasks/install_minishift_bin.yml @@ -2,28 +2,20 @@ # Install minishift - name: Query for minishift compressed binary - uri: - url: "https://api.github.com/repos/minishift/minishift/releases/tags/{{minishift_version}}" - return_content: yes - body_format: json - register: release + shell: curl -s https://github.com/minishift/minishift/releases/{{ minishift_version }} | grep 'minishift-.*-linux.*' | head -1 | sed 's/.*