2023-12-18 11:34:34 +01:00
|
|
|
---
|
|
|
|
version: "1.0"
|
|
|
|
env_nfs:
|
|
|
|
description: NFS configuration
|
|
|
|
configure:
|
|
|
|
description: Configure NFS mount
|
|
|
|
help: |
|
|
|
|
To share documents between differents services, you need to configure
|
|
|
|
a NFS server
|
|
|
|
type: boolean
|
|
|
|
default: false
|
2023-12-18 11:34:35 +01:00
|
|
|
server:
|
|
|
|
description: NFS server name
|
|
|
|
help: Configure NFS server only if env_nfs.configure is true
|
|
|
|
type: domainname
|
|
|
|
default: nfs.silique.fr
|
|
|
|
disabled:
|
|
|
|
type: jinja
|
|
|
|
jinja: |
|
|
|
|
{% if not socle.env_nfs.configure %}
|
|
|
|
NFS is disabled
|
|
|
|
{% endif %}
|
2023-12-18 11:34:35 +01:00
|
|
|
device:
|
|
|
|
default:
|
|
|
|
type: jinja
|
|
|
|
jinja: "{{ socle.env_nfs.server }}:/nfs"
|
|
|
|
hidden: true
|
|
|
|
disabled:
|
|
|
|
type: jinja
|
|
|
|
jinja: |
|
|
|
|
{% if not socle.env_nfs.configure %}
|
|
|
|
NFS is disabled
|
|
|
|
{% endif %}
|