diff --git a/files/hooks/post-upgrade/packages.sh b/files/hooks/post-upgrade/packages.sh new file mode 100644 index 0000000..98612e3 --- /dev/null +++ b/files/hooks/post-upgrade/packages.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# https://deepwiki.com/nextcloud/docker/3.2-hook-system +apt update && apt -y install ffmpeg diff --git a/tasks/main.yml b/tasks/main.yml index c2b9b81..0da12f2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -15,6 +15,11 @@ path: "{{ path }}/config/" state: directory +- name: copy hooks + copy: + src: "files/hooks" + dest: "{{ path }}/config/" + - name: template compose template: src: compose.yml.j2