mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-30 11:15:42 +02:00
Update to 2022-01-30 13:00
This commit is contained in:
25
roles/babashka/tasks/install.yml
Normal file
25
roles/babashka/tasks/install.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
|
||||
- when: bb_install_mode != 'none'
|
||||
block:
|
||||
|
||||
- name: Download babashka archive
|
||||
get_url:
|
||||
url: "{{ bb_archive_url }}"
|
||||
dest: /tmp/
|
||||
checksum: sha256:{{ bb_archive_sha256 }}
|
||||
|
||||
- name: Extract archive
|
||||
unarchive:
|
||||
src: /tmp/babashka-{{ bb_version }}-linux-amd64-static.tar.gz
|
||||
dest: /tmp/
|
||||
remote_src: True
|
||||
|
||||
- name: Install babashka binary
|
||||
copy:
|
||||
src: /tmp/bb
|
||||
dest: /usr/local/bin/bb
|
||||
remote_src: True
|
||||
mode: 755
|
||||
|
||||
tags: bb
|
Reference in New Issue
Block a user