Add pre-commit hook to make sure variable sample is up to date
This commit is contained in:
parent
a52c2bc6c7
commit
0d37652447
@ -18,9 +18,17 @@ repos:
|
|||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
- id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
exclude: "^ansible_playbooks/vars/nomad_vars.sample.yml$"
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- repo: https://github.com/Yelp/detect-secrets
|
- repo: https://github.com/Yelp/detect-secrets
|
||||||
rev: v1.4.0
|
rev: v1.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: detect-secrets
|
- id: detect-secrets
|
||||||
args: ['--baseline', '.secrets-baseline']
|
args: ['--baseline', '.secrets-baseline']
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: variable-sample
|
||||||
|
name: generate variable sample file
|
||||||
|
language: system
|
||||||
|
entry: bash -c 'venv/bin/python nomad_vars.py print > ./ansible_playbooks/vars/nomad_vars.sample.yml'
|
||||||
|
types: [file]
|
||||||
|
@ -9,25 +9,27 @@ nomad/jobs:
|
|||||||
smtp_server: VALUE
|
smtp_server: VALUE
|
||||||
smtp_tls: VALUE
|
smtp_tls: VALUE
|
||||||
smtp_user: VALUE
|
smtp_user: VALUE
|
||||||
nomad/jobs/adminer:
|
nomad/jobs/adminer/adminer/stunnel:
|
||||||
mysql_stunnel_psk: VALUE
|
mysql_stunnel_psk: VALUE
|
||||||
|
postgres_stunnel_psk: VALUE
|
||||||
nomad/jobs/authelia:
|
nomad/jobs/authelia:
|
||||||
db_name: VALUE
|
db_name: VALUE
|
||||||
db_pass: VALUE
|
db_pass: VALUE
|
||||||
db_user: VALUE
|
db_user: VALUE
|
||||||
email_sender: VALUE
|
email_sender: VALUE
|
||||||
jwt_secret: VALUE
|
jwt_secret: VALUE
|
||||||
ldap_stunnel_psk: VALUE
|
|
||||||
lldap_admin_password: VALUE
|
lldap_admin_password: VALUE
|
||||||
lldap_admin_user: VALUE
|
lldap_admin_user: VALUE
|
||||||
mysql_stunnel_psk: VALUE
|
|
||||||
oidc_clients: VALUE
|
oidc_clients: VALUE
|
||||||
oidc_hmac_secret: VALUE
|
oidc_hmac_secret: VALUE
|
||||||
oidc_issuer_certificate_chain: VALUE
|
oidc_issuer_certificate_chain: VALUE
|
||||||
oidc_issuer_private_key: VALUE
|
oidc_issuer_private_key: VALUE
|
||||||
redis_stunnel_psk: VALUE
|
|
||||||
session_secret: VALUE
|
session_secret: VALUE
|
||||||
storage_encryption_key: VALUE
|
storage_encryption_key: VALUE
|
||||||
|
nomad/jobs/authelia/authelia/stunnel:
|
||||||
|
ldap_stunnel_psk: VALUE
|
||||||
|
mysql_stunnel_psk: VALUE
|
||||||
|
redis_stunnel_psk: VALUE
|
||||||
nomad/jobs/backup:
|
nomad/jobs/backup:
|
||||||
backup_passphrase: VALUE
|
backup_passphrase: VALUE
|
||||||
mysql_stunnel_psk: VALUE
|
mysql_stunnel_psk: VALUE
|
||||||
@ -52,6 +54,13 @@ nomad/jobs/backup-oneoff-pi4:
|
|||||||
nas_ftp_host: VALUE
|
nas_ftp_host: VALUE
|
||||||
nas_ftp_pass: VALUE
|
nas_ftp_pass: VALUE
|
||||||
nas_ftp_user: VALUE
|
nas_ftp_user: VALUE
|
||||||
|
nomad/jobs/bazarr/bazarr:
|
||||||
|
db_name: VALUE
|
||||||
|
db_pass: VALUE
|
||||||
|
db_user: VALUE
|
||||||
|
nomad/jobs/bazarr/bazarr/postgres-bootstrap:
|
||||||
|
superuser: VALUE
|
||||||
|
superuser_pass: VALUE
|
||||||
nomad/jobs/blocky:
|
nomad/jobs/blocky:
|
||||||
db_name: VALUE
|
db_name: VALUE
|
||||||
db_pass: VALUE
|
db_pass: VALUE
|
||||||
@ -67,11 +76,15 @@ nomad/jobs/ddclient:
|
|||||||
zone: VALUE
|
zone: VALUE
|
||||||
nomad/jobs/diun:
|
nomad/jobs/diun:
|
||||||
slack_hook_url: VALUE
|
slack_hook_url: VALUE
|
||||||
nomad/jobs/gitea:
|
nomad/jobs/git:
|
||||||
db_name: VALUE
|
db_name: VALUE
|
||||||
db_pass: VALUE
|
db_pass: VALUE
|
||||||
db_user: VALUE
|
db_user: VALUE
|
||||||
|
mysql_stunnel_psk: VALUE
|
||||||
secret_key: VALUE
|
secret_key: VALUE
|
||||||
|
smtp_sender: VALUE
|
||||||
|
nomad/jobs/git/git/stunnel:
|
||||||
|
mysql_stunnel_psk: VALUE
|
||||||
nomad/jobs/grafana:
|
nomad/jobs/grafana:
|
||||||
admin_pw: VALUE
|
admin_pw: VALUE
|
||||||
alert_email_addresses: VALUE
|
alert_email_addresses: VALUE
|
||||||
@ -94,24 +107,21 @@ nomad/jobs/immich:
|
|||||||
db_name: VALUE
|
db_name: VALUE
|
||||||
db_pass: VALUE
|
db_pass: VALUE
|
||||||
db_user: VALUE
|
db_user: VALUE
|
||||||
nomad/jobs/ipdvr/bazarr:
|
|
||||||
db_pass: VALUE
|
|
||||||
db_user: VALUE
|
|
||||||
nomad/jobs/ipdvr/bazarr/bootstrap:
|
|
||||||
superuser: VALUE
|
|
||||||
superuser_pass: VALUE
|
|
||||||
nomad/jobs/ipdvr/lidarr:
|
|
||||||
db_pass: VALUE
|
|
||||||
db_user: VALUE
|
|
||||||
nomad/jobs/ipdvr/lidarr/bootstrap:
|
|
||||||
superuser: VALUE
|
|
||||||
superuser_pass: VALUE
|
|
||||||
nomad/jobs/ipdvr/radarr:
|
nomad/jobs/ipdvr/radarr:
|
||||||
db_pass: VALUE
|
db_pass: VALUE
|
||||||
db_user: VALUE
|
db_user: VALUE
|
||||||
nomad/jobs/ipdvr/radarr/bootstrap:
|
nomad/jobs/ipdvr/radarr/bootstrap:
|
||||||
superuser: VALUE
|
superuser: VALUE
|
||||||
superuser_pass: VALUE
|
superuser_pass: VALUE
|
||||||
|
nomad/jobs/lidarr:
|
||||||
|
db_name: VALUE
|
||||||
|
db_pass: VALUE
|
||||||
|
db_user: VALUE
|
||||||
|
nomad/jobs/lidarr/lidarr/postgres-bootstrap:
|
||||||
|
superuser: VALUE
|
||||||
|
superuser_pass: VALUE
|
||||||
|
nomad/jobs/lidarr/lidarr/stunnel:
|
||||||
|
postgres_stunnel_psk: VALUE
|
||||||
nomad/jobs/lldap:
|
nomad/jobs/lldap:
|
||||||
admin_email: VALUE
|
admin_email: VALUE
|
||||||
admin_password: VALUE
|
admin_password: VALUE
|
||||||
@ -140,9 +150,13 @@ nomad/jobs/photoprism:
|
|||||||
db_pass: VALUE
|
db_pass: VALUE
|
||||||
db_user: VALUE
|
db_user: VALUE
|
||||||
mysql_stunnel_psk: VALUE
|
mysql_stunnel_psk: VALUE
|
||||||
|
nomad/jobs/photoprism/photoprism/stunnel:
|
||||||
|
mysql_stunnel_psk: VALUE
|
||||||
nomad/jobs/postgres-server:
|
nomad/jobs/postgres-server:
|
||||||
superuser: VALUE
|
superuser: VALUE
|
||||||
superuser_pass: VALUE
|
superuser_pass: VALUE
|
||||||
|
nomad/jobs/postgres-server/postgres-server/stunnel:
|
||||||
|
allowed_psks: VALUE
|
||||||
nomad/jobs/redis-authelia:
|
nomad/jobs/redis-authelia:
|
||||||
allowed_psks: VALUE
|
allowed_psks: VALUE
|
||||||
nomad/jobs/redis-blocky:
|
nomad/jobs/redis-blocky:
|
||||||
@ -153,6 +167,12 @@ nomad/jobs/traefik:
|
|||||||
acme_email: VALUE
|
acme_email: VALUE
|
||||||
domain_lego_dns: VALUE
|
domain_lego_dns: VALUE
|
||||||
usersfile: VALUE
|
usersfile: VALUE
|
||||||
|
nomad/jobs/tubesync:
|
||||||
|
db_name: VALUE
|
||||||
|
db_pass: VALUE
|
||||||
|
db_user: VALUE
|
||||||
|
nomad/jobs/tubesync/tubesync/stunnel:
|
||||||
|
mysql_stunnel_psk: VALUE
|
||||||
nomad/oidc:
|
nomad/oidc:
|
||||||
secret: VALUE
|
secret: VALUE
|
||||||
secrets/mysql:
|
secrets/mysql:
|
||||||
@ -166,3 +186,4 @@ secrets/smtp:
|
|||||||
server: VALUE
|
server: VALUE
|
||||||
tls: VALUE
|
tls: VALUE
|
||||||
user: VALUE
|
user: VALUE
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user