aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/nextcloud/defaults/main.yml2
-rw-r--r--roles/nextcloud/tasks/main.yml18
2 files changed, 20 insertions, 0 deletions
diff --git a/roles/nextcloud/defaults/main.yml b/roles/nextcloud/defaults/main.yml
index a90917a..c8af0ef 100644
--- a/roles/nextcloud/defaults/main.yml
+++ b/roles/nextcloud/defaults/main.yml
@@ -4,6 +4,8 @@ nextcloud__package_name: nextcloud-28.0.3
nextcloud__package_dependencies:
- php-pgsql-8.2.20
- php-pdo_pgsql-8.2.20
+ - ffmpeg
+ - p5-Image-ExifTool
nextcloud__db_name: nextcloud
nextcloud__db_user: nextcloud
diff --git a/roles/nextcloud/tasks/main.yml b/roles/nextcloud/tasks/main.yml
index 9f84fdf..9fd0687 100644
--- a/roles/nextcloud/tasks/main.yml
+++ b/roles/nextcloud/tasks/main.yml
@@ -82,3 +82,21 @@
owner: 0
group: 0
mode: "0644"
+
+- name: copy dependencies binaries to chroot
+ ansible.builtin.include_role:
+ name: copy_bin
+ vars:
+ copy_bin__root_dir: "{{ httpd_pre__chroot_dir }}"
+ copy_bin__name: "{{ item }}"
+ loop:
+ - ffmpeg
+ - ffprobe
+ - perl
+
+- name: copy dependencies for lowdown
+ ansible.builtin.copy:
+ src: /usr/local/bin/exiftool
+ dest: "{{ httpd_pre__chroot_dir }}/bin/exiftool"
+ mode: preserve
+ remote_src: true
remember that computers suck.