Skip to content

Commit

Permalink
Update ansible file to work with v0.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
brutella committed Aug 12, 2021
1 parent 2b97598 commit dd4760a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/hkcam/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
hkcam_version: 'v0.0.9'
hkcam_download_file_name: hkcam-{{ hkcam_version }}_linux_armhf.tar.gz
hkcam_version: 'v0.0.10'
hkcam_download_file_name: hkcam-{{ hkcam_version }}_linux_arm.tar.gz
hkcam_download_url: https://github.com/brutella/hkcam/releases/download/{{ hkcam_version }}/{{ hkcam_download_file_name }}
hkcam_download_dir: /tmp
hkcam_download_dest: "{{ hkcam_download_dir }}/{{ hkcam_download_file_name }}"
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/hkcam/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

- name: Define extracted folder
set_fact: unarchived_dir="{{ hkcam_download_dir }}/{{ unarchived.files[0] | dirname }}"
- name: Copy {{ unarchived_dir }}/usr to /usr
shell: cp -rp {{ unarchived_dir }}/usr/* /usr
- name: Copy {{ unarchived_dir }}/hkcam to /usr/bin
shell: cp -rp {{ unarchived_dir }}/hkcam /usr/bin

- name: Ensure that {{ hkcam_data_dir }} exists
file: path={{ hkcam_data_dir }} mode=0755 state=directory
Expand Down

0 comments on commit dd4760a

Please sign in to comment.