aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nextcloud/tasks
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-07-01 11:02:16 +0200
committerRomain Gonçalves <me@rgoncalves.se>2024-07-01 11:05:18 +0200
commit7145dc982cc0e0fff4afa91d7e3970ad1abddf3f (patch)
tree43be7a70bbc6461b924d5a60b104889cbec5de93 /roles/nextcloud/tasks
parentebc08d2c321e8b9e34fdb728151ff235757e9e18 (diff)
downloadrules-7145dc982cc0e0fff4afa91d7e3970ad1abddf3f.tar.gz
feat(roles/nextcloud): copy exiftool and ffmpeg/ffmprobe
Diffstat (limited to 'roles/nextcloud/tasks')
-rw-r--r--roles/nextcloud/tasks/main.yml18
1 files changed, 18 insertions, 0 deletions
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.