ansible-role-kojid/templates/production/runroot.conf.j2

38 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2021-02-11 01:11:49 +00:00
[paths]
; comma-delimited list of default mountpoints
; They will be mounted during each run. It is suggested, that these
; paths has readonly options and are made writable via extra_mounts
; parameter for individual calls.
default_mounts = {{ kojid_production_mount }}
; comma-delimited list of safe roots.
; Each extra_mount need to start with some of these prefixes. Other paths are
; not allowed for mounting. Only absolute paths are allowed here, no
; wildcards.
safe_roots = {{ kojid_production_mount }}/compose,/srv/odcs
; path substitutions is tuple per line, delimited by comma, order is
; important.
; Path prefixes which can be substituted for other mountpoints.
; Usable for locations symlinked from other mounts.
; path_subs = /mnt/archive/prehistory/,/mnt/prehistoric_disk/archive/prehistory
; mount origins, order is important here, ordered by best catch
[path0]
mountpoint = {{ kojid_production_mount }}/compose
path = {{ kojid_production_mount }}/compose
fstype = bind
options = bind
[path1]
mountpoint = {{ kojid_production_mount }}
path = {{ kojid_production_mount }}
fstype = bind
options = bind
[path2]
mountpoint = /srv/odcs
path = /srv/odcs
fstype = bind
options = bind