Skip to content

Commit

Permalink
resolve issue
Browse files Browse the repository at this point in the history
Signed-off-by: usrbinkat <usrbinkat@braincraft.io>
  • Loading branch information
usrbinkat committed Jan 23, 2021
1 parent ebc95c5 commit e4152c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions collector/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,16 @@
dest: '{{ dir_bin }}'
mode: 0775

- name: "{{ ansible_name_module }} | unarchive:openshift-install-linux.tar.gz | Downloading openshift-install binary {{ openshift_version }}"
unarchive:
remote_src: yes
src: "https://mirror.openshift.com/pub/openshift-v4/clients/ocp/{{ openshift_version }}/openshift-install-linux.tar.gz"
dest: '{{ dir_bin }}'
mode: 0775

- name: '{{ ansible_name_module }} | command:cmd | Test Binaries'
command:
cmd: '{{ item.bin }} {{ item.exec }}'
with_items:
- { bin: '{{ dir_bin }}/oc', exec: 'version --client' }
- { bin: '{{ dir_bin }}/openshift-install', exec: 'version' }
2 changes: 1 addition & 1 deletion collector/tools/dev.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sudo podman run -it --rm --pull always \
--workdir /root/koffer --entrypoint bash \
--volume ${HOME}/.docker:/root/.docker:ro \
--volume ${HOME}/.gitconfig:/root/.gitconfig:z \
docker.io/codesparta/koffer:latest
quay.io/cloudctl/koffer:latest

# --volume ${HOME}/.aws:/root/.aws:z \
# --volume ${HOME}/.docker:/root/.docker:z \

0 comments on commit e4152c6

Please sign in to comment.