added hooks
This commit is contained in:
parent
fdab397cce
commit
7f17e18a29
4
files/hooks/post-upgrade/packages.sh
Normal file
4
files/hooks/post-upgrade/packages.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# https://deepwiki.com/nextcloud/docker/3.2-hook-system
|
||||||
|
apt update && apt -y install ffmpeg
|
||||||
@ -15,6 +15,11 @@
|
|||||||
path: "{{ path }}/config/"
|
path: "{{ path }}/config/"
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
|
- name: copy hooks
|
||||||
|
copy:
|
||||||
|
src: "files/hooks"
|
||||||
|
dest: "{{ path }}/config/"
|
||||||
|
|
||||||
- name: template compose
|
- name: template compose
|
||||||
template:
|
template:
|
||||||
src: compose.yml.j2
|
src: compose.yml.j2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user