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
2021-08-19 21:15:24 +02:00
ssl: false
2020-07-10 00:58:55 +02:00
caching:
host: "localhost"
port: 6379
password:
database: 0
cache_database: 1
default_timeout: 300
2021-08-19 21:15:24 +02:00
ssl: false
2020-07-10 00:58:55 +02:00
admins:
- ['John Doe', 'jdoe@example.com']
- ['Bob Reptincel', 'breptincel@example.com']
banner_top: ""
banner_bottom: ""
banner_login: "NetBox"
base_path: ""
changelog_retention: 90
2021-08-19 21:15:24 +02:00
cors_origin_allow_all: false
2020-07-10 00:58:55 +02:00
cors_origin_whitelist: []
cors_origin_regex_whitelist: []
2021-08-19 21:15:24 +02:00
debug: false
2020-07-10 00:58:55 +02:00
email:
server: "localhost"
port: 25
username: username
password: password
timeout: 10
from_email: user@domain.com
2021-08-19 21:15:24 +02:00
enforce_global_unique: false
2020-07-10 00:58:55 +02:00
exempt_view_permissions: []
logging: {}
2021-08-19 21:15:24 +02:00
login_required: false
2020-07-10 00:58:55 +02:00
login_timeout: 3600
2021-08-19 21:15:24 +02:00
maintenance_mode: false
2020-07-10 00:58:55 +02:00
max_page_size: 1000
2021-08-19 21:15:24 +02:00
metrics_enabled: false
2020-07-10 00:58:55 +02:00
napalm_username: ''
napalm_password: ''
napalm_timeout: 30
napalm_args: {}
paginate_count: 50
2021-08-19 21:15:24 +02:00
prefer_ipv4: false
2020-07-10 00:58:55 +02:00
session_file_path: "/tmp"
session_cookie_age: 3600
time_zone: "UTC"
2021-08-19 21:15:24 +02:00
webhooks_enabled: false
2020-07-10 00:58:55 +02:00
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"
2021-08-19 21:15:24 +02:00
short_datetime_format: "Y-m-d H:i"