39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
###############################################################################
|
|
# config/global.env.example
|
|
###############################################################################
|
|
|
|
# Defaults d'exécution
|
|
ALLOW_OVERWRITE=no
|
|
RESTORE_ROLES=yes
|
|
|
|
# Dépôt scripts
|
|
GLOBAL_REPO_URL=git@gitea.example.tld:team/RebuildBdd.git
|
|
GLOBAL_REPO_BRANCH=main
|
|
|
|
# Backup central
|
|
GLOBAL_BACKUP_REMOTE_USER=backup
|
|
GLOBAL_BACKUP_REMOTE_HOST=<BACKUP_HOST>
|
|
GLOBAL_BACKUP_REMOTE_PORT=22
|
|
GLOBAL_BACKUP_REMOTE_BASE_DIR=/home/backup/backups
|
|
|
|
# Clé SSH de lecture backup copiée sur les cibles
|
|
GLOBAL_BACKUP_SSH_PRIVATE_KEY=/home/<LOCAL_USER>/.ssh/id_ed25519_backup_readonly
|
|
GLOBAL_BACKUP_SSH_PUBLIC_KEY=/home/<LOCAL_USER>/.ssh/id_ed25519_backup_readonly.pub
|
|
GLOBAL_BACKUP_KNOWN_HOSTS_STRICT=yes
|
|
|
|
# Defaults PostgreSQL
|
|
GLOBAL_PGHOST=127.0.0.1
|
|
GLOBAL_PGPORT=5432
|
|
|
|
# Defaults scripts
|
|
GLOBAL_REMOTE_ROLES_DIR_NAME=user
|
|
GLOBAL_EXCLUDED_RESTORE_ROLES="postgres"
|
|
|
|
# Defaults bootstrap / cible
|
|
GLOBAL_ENABLE_BOOTSTRAP=yes
|
|
GLOBAL_BOOTSTRAP_ALLOW_PASSWORDLESS_SUDO=yes
|
|
GLOBAL_AUTO_INSTALL_POSTGRES=yes
|
|
GLOBAL_AUTO_CREATE_PGUSER=yes
|
|
GLOBAL_PGUSER_SUPERUSER=no
|
|
GLOBAL_AUTO_CONFIGURE_SUDOERS=no
|