dataset-formation/seed/site-formation/dictionaries/23_site.yml

64 lines
1.3 KiB
YAML

version: '0.10'
services:
- service:
- name: nginx
override: null
- name: site_update
engine: cheetah
target: timers
file:
- text: /sbin/site_update
mode: 755
- name: site_update
type: timer
engine: none
target: multi-user
variables:
- family:
- name: nginx
variables:
- variable:
- name: nginx_root
redefine: true
value:
- text: /srv/git/site/static
- name: forgejo
variables:
- variable:
- name: site_domain_name
hidden: true
supplier: SiteRepo
mandatory: true
- name: site_user_name
type: unix_user
hidden: true
supplier: SiteRepo:username
value:
- text: site
- name: site_user_mail
type: mail
description: Email de l'utilisateur "site" dans Forgejo
supplier: SiteRepo:email
- name: site_user_password
type: password
hidden: true
supplier: SiteRepo:password
constraints:
- fill:
- name: get_password
param:
- type: variable
name: server_name
text: domain_name_eth0
- type: variable
name: username
text: site_user_name
- name: description
text: site
- name: type
text: cleartext
- name: hide
type: variable
text: hide_secret
target:
- text: site_user_password