30 lines
647 B
YAML
Raw Normal View History

2022-01-30 13:00:05 +01:00
---
- 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
2024-04-25 18:01:10 +02:00
dest: /usr/local/bin/bb.real
2022-01-30 13:00:05 +01:00
remote_src: True
mode: 755
tags: bb
2024-04-25 18:01:10 +02:00
- name: Install Babashka wrapper for proxy support
template: src=bb.j2 dest=/usr/local/bin/bb mode=755
tags: bb