paulbsd-salt/states/netbox/defaults.yaml

97 lines
2.2 KiB
YAML
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
netbox:
enabled: true
install_dir: '/usr/local/apps'
release_dir: '/usr/local/apps/releases'
archive_url: 'https://github.com/netbox-community/netbox/archive'
version: '2.6.0'
gunicorn:
bind_addr: '127.0.0.1'
bind_port: '8888'
run_user: 'www-data'
pkgs:
- "build-essential"
- "graphviz"
- "libffi-dev"
- "libjpeg-dev"
- "libpq-dev"
- "libssl-dev"
- "libxml2-dev"
- "libxslt1-dev"
- "python3"
- "python3-dev"
- "python3-pip"
- "python3-virtualenv"
- "virtualenv"
- "zlib1g-dev"
config:
allowed_hosts: "[ '127.0.0.1' ]"
database:
name: "netbox"
user:
password:
host: "localhost"
port:
conn_max_age: 300
secret_key: "azerty"
redis:
tasks:
host: "localhost"
port: 6379
password:
database: 0
cache_database: 1
default_timeout: 300
ssl: False
caching:
host: "localhost"
port: 6379
password:
database: 0
cache_database: 1
default_timeout: 300
ssl: False
admins:
- ['John Doe', 'jdoe@example.com']
- ['Bob Reptincel', 'breptincel@example.com']
banner_top: ""
banner_bottom: ""
banner_login: "NetBox"
base_path: ""
cache_timeout: 900
changelog_retention: 90
cors_origin_allow_all: False
cors_origin_whitelist: []
cors_origin_regex_whitelist: []
debug: False
email:
server: "localhost"
port: 25
username: username
password: password
timeout: 10
from_email: user@domain.com
enforce_global_unique: False
exempt_view_permissions: []
logging: {}
login_required: False
login_timeout: 3600
maintenance_mode: False
max_page_size: 1000
metrics_enabled: False
napalm_username: ''
napalm_password: ''
napalm_timeout: 30
napalm_args: {}
paginate_count: 50
prefer_ipv4: False
session_file_path: "/tmp"
session_cookie_age: 3600
time_zone: "UTC"
webhooks_enabled: False
date_format: "N j, Y"
short_date_format: "Y-m-d"
time_format: "g:i a"
short_time_format: "H:i:s"
datetime_format: "N j, Y g:i a"
short_datetime_format: "Y-m-d H:i"