Skip to content

Commit

Permalink
Ensure enroot runtime dependencies are installed
Browse files Browse the repository at this point in the history
  • Loading branch information
tpdownes committed Aug 30, 2024
1 parent 23d885b commit 75f7375
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ansible/roles/enroot/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
name: '{{ enroot_build_dependencies }}'
state: present

- name: Install enroot runtime dependencies
ansible.builtin.package:
name: '{{ enroot_runtime_dependencies }}'
state: present

- name: Download enroot
ansible.builtin.git:
repo: '{{ enroot_url }}'
Expand Down
8 changes: 8 additions & 0 deletions ansible/roles/enroot/vars/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ enroot_build_dependencies:
- libmd-dev
- libtool
- make

enroot_runtime_dependencies:
- curl
- gawk
- jq
- squashfs-tools
- parallel
- zstd
6 changes: 6 additions & 0 deletions ansible/roles/enroot/vars/redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ enroot_build_dependencies:
- libmd-devel
- libtool
- make

enroot_runtime_dependencies:
- jq
- squashfs-tools
- parallel
- zstd

0 comments on commit 75f7375

Please sign in to comment.