{"id":16238874,"url":"https://github.com/trombik/ansible-role-netbox","last_synced_at":"2026-04-29T00:34:22.836Z","repository":{"id":43711583,"uuid":"452502263","full_name":"trombik/ansible-role-netbox","owner":"trombik","description":"ansible role to manage netbox.","archived":false,"fork":false,"pushed_at":"2022-02-22T10:09:36.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T09:16:37.212Z","etag":null,"topics":["ansible-role","netbox"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trombik.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-27T01:42:51.000Z","updated_at":"2022-02-16T11:58:54.000Z","dependencies_parsed_at":"2022-09-04T03:21:19.740Z","dependency_job_id":null,"html_url":"https://github.com/trombik/ansible-role-netbox","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/trombik/ansible-role-netbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trombik%2Fansible-role-netbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trombik%2Fansible-role-netbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trombik%2Fansible-role-netbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trombik%2Fansible-role-netbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trombik","download_url":"https://codeload.github.com/trombik/ansible-role-netbox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trombik%2Fansible-role-netbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32405901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible-role","netbox"],"created_at":"2024-10-10T13:41:36.035Z","updated_at":"2026-04-29T00:34:22.815Z","avatar_url":"https://github.com/trombik.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `trombik.netbox`\n\n[![kitchen](https://github.com/trombik/ansible-role-netbox/actions/workflows/kitchen.yml/badge.svg)](https://github.com/trombik/ansible-role-netbox/actions/workflows/kitchen.yml)\n\n`ansible` role to manage `netbox`.\n\n# Requirements\n\nSee [requirements.yml](requirements.yml).\n\n# Role Variables\n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `netbox_user` | User name of `netbox` | `{{ __netbox_user }}` |\n| `netbox_group` | Group name of `netbox` | `{{ __netbox_group }}` |\n| `netbox_service` | Service name of `netbox` | `{{ __netbox_service }}` |\n| `netbox_service_rq` | Service name of `netbox_rq` | `{{ __netbox_service_rq }}` |\n| `netbox_extra_packages` | List of extra packages to install | `[]` |\n| `netbox_required_packages` | List of required packages to install | `{{ __netbox_required_packages }}` |\n| `netbox_git_repo` | Path to the `netbox` git repository | `https://github.com/netbox-community/netbox.git` |\n| `netbox_git_version` | git ref to checkout | `master` |\n| `netbox_git_update` | Boolean to update the checked out repository | `false` |\n| `netbox_local_requirements` | Content of `local_requirements.txt` | `\"\"` |\n| `netbox_home_dir` | Path to home directory of `netbox` user | `{{ __netbox_home_dir }}` |\n| `netbox_root_dir` | Path to root directory of the repository | `{{ netbox_home_dir }}/netbox` |\n| `netbox_venv_dir` | path to `venv` directory | `{{ netbox_root_dir }}/venv` |\n| `netbox_venv_python` | Path to `python` binary in the `venv` | `{{ netbox_venv_dir }}/bin/python3` |\n| `netbox_app_dir` | Path to application directory | `{{ netbox_root_dir }}/netbox` |\n| `netbox_conf_dir` | Path to directory of the `configuration.py` | `{{ netbox_app_dir }}/netbox` |\n| `netbox_conf_file` | Path to the `configuration.py` | `{{ netbox_conf_dir }}/configuration.py` |\n| `netbox_gunicorn_conf_file` | Path to `gunicorn.py` | `{{ netbox_conf_dir }}/gunicorn.py` |\n| `netbox_gunicorn_config` | Content of `gunicorn.py` | `\"\"` |\n| `netbox_static_dir` | Path to `static` directory | `{{ netbox_app_dir }}/static` |\n| `netbox_log_dir` | Path to log directory | `{{ __netbox_log_dir }}` |\n| `netbox_log_file` | Path to log file | `{{ netbox_log_dir }}/netbox.log` |\n| `netbox_bind_scheme` | Scheme to bind | `http` |\n| `netbox_bind_address` | Address to bind | `127.0.0.1` |\n| `netbox_bind_port` | | `8001` |\n| `netbox_redis_tasks_host` | Address of `redis` tasks | `127.0.0.1` |\n| `netbox_redis_tasks_port` | Port number of `redis` tasks | `6379` |\n| `netbox_redis_tasks_password` | Password of `redis` tasks | `\"\"` |\n| `netbox_redis_tasks_tls` | Boolean to use TLS for `redis` tasks | `false` |\n| `netbox_redis_tasks_database` | Number of tasks database | `0` |\n| `netbox_redis_caching_host` | Address of `redis` caching | `127.0.0.1` |\n| `netbox_redis_caching_port` | Port of `redis` caching | `6379` |\n| `netbox_redis_caching_password` | Password of `redis` caching | `\"\"` |\n| `netbox_redis_caching_tls` | Boolean to use TLS for `redis` caching | `false` |\n| `netbox_redis_caching_database` | Number of caching database | `1` |\n| `netbox_redis_wait_for_delay` | Second to delay in `wait_for` `redis` | `0` |\n| `netbox_redis_wait_for_sleep` | Second to sleep in `wait_for` `redis` | `1` |\n| `netbox_db_host` | Host of database | `127.0.0.1` |\n| `netbox_db_port` | Port number of database | `5432` |\n| `netbox_db_user` | Database user name | `netbox` |\n| `netbox_db_password` | Password of database user | `\"\"` |\n| `netbox_db_name` | Name of database | `netbox` |\n| `netbox_db_wait_for_delay` | Second to delay in `wait_for` database | `0` |\n| `netbox_db_wait_for_sleep` | Second to sleep in `wait_for` database | `1` |\n| `netbox_wait_for_delay` | Second to delay in `wait_for` `netbox` | `0` |\n| `netbox_wait_for_sleep` | Second to delay in `wait_for` `netbox` | `1` |\n| `netbox_superuser_name` | Name of super user in `netbox` | `\"\"` |\n| `netbox_superuser_password` | Password of super user in `netbox` | `\"\"` |\n| `netbox_superuser_email` | Email address of super user in `netbox` | `\"\"` |\n| `netbox_flags` | Flags to pass `netbox` service | `\"\"` |\n| `netbox_rq_flags` | Flags to pass `netbox_rq` service | `\"\"` |\n| `netbox_using_supervisor` | Boolean to use `supervisor` | `false` |\n| `netbox_supervisor_conf_file` | Path to `supervisor` configuration file | `\"\"` |\n| `netbox_supervisor_config` | Content of `supervisor` configuration file | `\"\"` |\n\n## Debian\n\n| Variable | Default |\n|----------|---------|\n| `__netbox_user` | `netbox` |\n| `__netbox_group` | `netbox` |\n| `__netbox_service` | `netbox` |\n| `__netbox_service_rq` | `netbox-rq` |\n| `__netbox_home_dir` | `/opt/netbox` |\n| `__netbox_log_dir` | `/var/log/netbox` |\n| `__netbox_required_packages` | `[\"git\", \"python3\", \"python3-pip\", \"python3-venv\", \"python3-dev\", \"build-essential\", \"libxml2-dev\", \"libxslt1-dev\", \"libffi-dev\", \"libpq-dev\", \"libssl-dev\", \"zlib1g-dev\"]` |\n\n## Devuan\n\n| Variable | Default |\n|----------|---------|\n| `__netbox_user` | `netbox` |\n| `__netbox_group` | `netbox` |\n| `__netbox_service` | `netbox` |\n| `__netbox_service_rq` | `netbox-rq` |\n| `__netbox_home_dir` | `/opt/netbox` |\n| `__netbox_log_dir` | `/var/log/netbox` |\n| `__netbox_required_packages` | `[\"git\", \"python3\", \"python3-pip\", \"python3-venv\", \"python3-dev\", \"build-essential\", \"libxml2-dev\", \"libxslt1-dev\", \"libffi-dev\", \"libpq-dev\", \"libssl-dev\", \"zlib1g-dev\", \"rustc\"]` |\n| `__netbox_supervisor_conf_dir` | `/etc/supervisor` |\n\n## FreeBSD\n\n| Variable | Default |\n|----------|---------|\n| `__netbox_user` | `netbox` |\n| `__netbox_group` | `netbox` |\n| `__netbox_service` | `netbox` |\n| `__netbox_service_rq` | `netbox_rq` |\n| `__netbox_home_dir` | `/usr/local/netbox` |\n| `__netbox_log_dir` | `/var/log/netbox` |\n| `__netbox_required_packages` | `[\"databases/py-psycopg2\", \"devel/git\", \"devel/libffi\", \"devel/py-pip\", \"graphics/py-pillow\", \"lang/rust\", \"textproc/libxml2\", \"textproc/libxslt\"]` |\n\n## OpenBSD\n\n| Variable | Default |\n|----------|---------|\n| `__netbox_user` | `_netbox` |\n| `__netbox_group` | `_netbox` |\n| `__netbox_service` | `netbox` |\n| `__netbox_service_rq` | `netbox_rq` |\n| `__netbox_home_dir` | `/var/www/htdocs/netbox` |\n| `__netbox_log_dir` | `/var/log/netbox` |\n| `__netbox_required_packages` | `[\"py3-psycopg2\", \"git\", \"libffi\", \"py3-pip\", \"py3-Pillow\", \"rust\", \"libxml\", \"libxslt\"]` |\n\n## RedHat\n\n| Variable | Default |\n|----------|---------|\n| `__netbox_user` | `netbox` |\n| `__netbox_group` | `netbox` |\n| `__netbox_service` | `netbox` |\n| `__netbox_service_rq` | `netbox-rq` |\n| `__netbox_home_dir` | `/opt/netbox` |\n| `__netbox_log_dir` | `/var/log/netbox` |\n| `__netbox_required_packages` | `[\"git\", \"python3-pip\", \"python3-devel\", \"libxml2-devel\", \"libxslt-devel\", \"libffi-devel\", \"libpq-devel\", \"openssl-devel\"]` |\n\n# Dependencies\n\nNone\n\n# Example Playbook\n\n```yaml\n---\n- hosts: localhost\n  roles:\n    - role: trombik.sysctl\n    - role: trombik.postgresql\n    - role: trombik.redis\n    - role: ansible-role-netbox\n    - role: trombik.nginx\n  vars:\n    netbox_superuser_name: root\n    netbox_superuser_password: password\n    netbox_superuser_email: dave.null@localhost\n    netbox_db_password: password\n    netbox_redis_tasks_password: \"{{ redis_password }}\"\n    netbox_redis_caching_password: \"{{ redis_password }}\"\n    netbox_using_supervisor: no\n\n    # see available versions at:\n    # https://github.com/netbox-community/netbox/releases\n    netbox_git_version: v3.1.6\n\n    project_netbox_plugins:\n      - netbox-qrcode\n    netbox_local_requirements: |\n      {% for i in project_netbox_plugins %}\n      {{ i }}\n      {% endfor %}\n    netbox_gunicorn_config: |\n      # The IP address (typically localhost) and port that the Netbox WSGI process should listen on\n      bind = '127.0.0.1:8001'\n\n      # Number of gunicorn workers to spawn. This should typically be 2n+1, where\n      # n is the number of CPU cores present.\n      workers = 5\n\n      # Number of threads per worker process\n      threads = 3\n\n      # Timeout (in seconds) for a request to complete\n      timeout = 120\n\n      # The maximum number of requests a worker can handle before being respawned\n      max_requests = 5000\n      max_requests_jitter = 500\n\n    netbox_config: |\n      ALLOWED_HOSTS = [\n        'localhost',\n      ]\n      DATABASE = {\n          'NAME': '{{ netbox_db_name }}',\n          'USER': '{{ netbox_db_user }}',\n          'PASSWORD': '{{ netbox_db_password }}',\n          'HOST': '{{ netbox_db_host }}',\n          'PORT': '{{ netbox_db_port }}',\n          'CONN_MAX_AGE': 300,\n      }\n      REDIS = {\n          'tasks': {\n              'HOST': '{{ netbox_redis_tasks_host }}',\n              'PORT': {{ netbox_redis_tasks_port }},\n              'PASSWORD': '{{ netbox_redis_tasks_password }}',\n              'DATABASE': {{ netbox_redis_tasks_database }},\n              'SSL': {% if netbox_redis_tasks_tls %}True{% else %}False{% endif %},\n              # 'INSECURE_SKIP_TLS_VERIFY': False,\n          },\n          'caching': {\n              'HOST': '{{ netbox_redis_caching_host }}',\n              'PORT': {{ netbox_redis_caching_port }},\n              'PASSWORD': '{{ netbox_redis_caching_password }}',\n              'DATABASE': {{ netbox_redis_caching_database }},\n              'SSL': {% if netbox_redis_caching_tls %}True{% else %}False{% endif %},\n              # 'INSECURE_SKIP_TLS_VERIFY': False,\n          }\n      }\n      # python3 /usr/local/netbox/netbox/netbox/generate_secret_key.py\n      SECRET_KEY = 'eu806L3V2$^ykz1tKAkZ=^$oGVXS!bcQUrhesk4mknFFxNz!df'\n      ADMINS = [\n          ('John Doe', 'jdoe@example.com'),\n      ]\n      BASE_PATH = ''\n      CORS_ORIGIN_ALLOW_ALL = True\n      CORS_ORIGIN_WHITELIST = [\n          # 'https://hostname.example.com',\n      ]\n      CORS_ORIGIN_REGEX_WHITELIST = [\n          # r'^(https?://)?(\\w+\\.)?example\\.com$',\n      ]\n      DEBUG = False\n      EMAIL = {\n          'SERVER': 'localhost',\n          'PORT': 25,\n          'USERNAME': '',\n          'PASSWORD': '',\n          'USE_SSL': False,\n          'USE_TLS': False,\n          'TIMEOUT': 10,  # seconds\n          'FROM_EMAIL': '',\n      }\n      EXEMPT_VIEW_PERMISSIONS = [\n          # 'dcim.site',\n          # 'dcim.region',\n          # 'ipam.prefix',\n      ]\n      INTERNAL_IPS = ('127.0.0.1', '::1')\n      LOGGING = {\n          'version': 1,\n          'disable_existing_loggers': False,\n          'handlers': {\n              'file': {\n                  'level': 'DEBUG',\n                  'class': 'logging.FileHandler',\n                  'filename': '{{ netbox_log_file }}',\n              },\n          },\n          'loggers': {\n              'django': {\n                  'handlers': ['file'],\n                  'level': 'DEBUG',\n              },\n          },\n      }\n      LOGIN_PERSISTENCE = False\n      LOGIN_REQUIRED = False\n      LOGIN_TIMEOUT = None\n      METRICS_ENABLED = False\n      PLUGINS = [\n      {% for p in project_netbox_plugins %}\n        '{{ p | regex_replace(\"-\", \"_\") }}',\n      {% endfor %}\n      ]\n      REMOTE_AUTH_ENABLED = False\n      REMOTE_AUTH_BACKEND = 'netbox.authentication.RemoteUserBackend'\n      REMOTE_AUTH_HEADER = 'HTTP_REMOTE_USER'\n      REMOTE_AUTH_AUTO_CREATE_USER = True\n      REMOTE_AUTH_DEFAULT_GROUPS = []\n      REMOTE_AUTH_DEFAULT_PERMISSIONS = {}\n      RELEASE_CHECK_URL = None\n      RQ_DEFAULT_TIMEOUT = 300\n      SESSION_COOKIE_NAME = 'sessionid'\n      SESSION_FILE_PATH = None\n      TIME_ZONE = 'UTC'\n      DATE_FORMAT = 'N j, Y'\n      SHORT_DATE_FORMAT = 'Y-m-d'\n      TIME_FORMAT = 'g:i a'\n      SHORT_TIME_FORMAT = 'H:i:s'\n      DATETIME_FORMAT = 'N j, Y g:i a'\n      SHORT_DATETIME_FORMAT = 'Y-m-d H:i'\n\n    # _________________________________________postgresql\n    postgresql_initial_password: password\n    postgresql_debug: yes\n    os_sysctl:\n      FreeBSD: {}\n      OpenBSD:\n        kern.seminfo.semmni: 60\n        kern.seminfo.semmns: 1024\n      Debian: {}\n      RedHat: {}\n    sysctl: \"{{ os_sysctl[ansible_os_family] }}\"\n\n    os_postgresql_extra_packages:\n      FreeBSD:\n        - \"databases/postgresql{{ postgresql_major_version }}-contrib\"\n      OpenBSD:\n        - postgresql-contrib\n      Debian:\n        - postgresql-contrib\n      RedHat:\n        - \"postgresql{{ postgresql_major_version }}-contrib\"\n\n    postgresql_extra_packages: \"{{ os_postgresql_extra_packages[ansible_os_family] }}\"\n    postgresql_pg_hba_config: |\n      host    all             all             127.0.0.1/32            {{ postgresql_default_auth_method }}\n      host    all             all             ::1/128                 {{ postgresql_default_auth_method }}\n      local   replication     all                                     trust\n      host    replication     all             127.0.0.1/32            trust\n      host    replication     all             ::1/128                 trust\n    postgresql_config: |\n      {% if ansible_os_family == 'Debian' %}\n      data_directory = '{{ postgresql_db_dir }}'\n      hba_file = '{{ postgresql_conf_dir }}/pg_hba.conf'\n      ident_file = '{{ postgresql_conf_dir }}/pg_ident.conf'\n      external_pid_file = '/var/run/postgresql/{{ postgresql_major_version }}-main.pid'\n      port = 5432\n      max_connections = 100\n      unix_socket_directories = '/var/run/postgresql'\n      ssl = on\n      ssl_cert_file = '/etc/ssl/certs/ssl-cert-snakeoil.pem'\n      ssl_key_file = '/etc/ssl/private/ssl-cert-snakeoil.key'\n      shared_buffers = 128MB\n      dynamic_shared_memory_type = posix\n      log_line_prefix = '%m [%p] %q%u@%d '\n      log_timezone = 'UTC'\n      cluster_name = '{{ postgresql_major_version }}/main'\n      stats_temp_directory = '/var/run/postgresql/{{ postgresql_major_version }}-main.pg_stat_tmp'\n      datestyle = 'iso, mdy'\n      timezone = 'UTC'\n      lc_messages = 'C'\n      lc_monetary = 'C'\n      lc_numeric = 'C'\n      lc_time = 'C'\n      default_text_search_config = 'pg_catalog.english'\n      include_dir = 'conf.d'\n      password_encryption = {{ postgresql_default_auth_method }}\n      {% else %}\n      max_connections = 100\n      shared_buffers = 128MB\n      dynamic_shared_memory_type = posix\n      max_wal_size = 1GB\n      min_wal_size = 80MB\n      log_destination = 'syslog'\n      log_timezone = 'UTC'\n      update_process_title = off\n      datestyle = 'iso, mdy'\n      timezone = 'UTC'\n      lc_messages = 'C'\n      lc_monetary = 'C'\n      lc_numeric = 'C'\n      lc_time = 'C'\n      default_text_search_config = 'pg_catalog.english'\n      password_encryption = {{ postgresql_default_auth_method }}\n      {% endif %}\n    postgresql_users:\n      - name: foo\n        password: PassWord\n      - name: root\n        password: AdminPassWord\n        role_attr_flags: SUPERUSER\n      - name: \"{{ netbox_db_user }}\"\n        password: \"{{ netbox_db_password }}\"\n\n    postgresql_databases:\n      - name: \"{{ netbox_db_name }}\"\n        owner: \"{{ netbox_db_user }}\"\n        state: present\n      - name: bar\n        owner: foo\n        state: present\n\n    project_postgresql_initdb_flags: --encoding=utf-8 --lc-collate=C --locale=en_US.UTF-8\n    project_postgresql_initdb_flags_pwfile: \"--pwfile={{ postgresql_initial_password_file }}\"\n    project_postgresql_initdb_flags_auth: \"--auth-host={{ postgresql_default_auth_method }} --auth-local={{ postgresql_default_auth_method }}\"\n    os_postgresql_initdb_flags:\n      FreeBSD: \"{{ project_postgresql_initdb_flags }} {{ project_postgresql_initdb_flags_pwfile }} {{ project_postgresql_initdb_flags_auth }}\"\n      OpenBSD: \"{{ project_postgresql_initdb_flags }} {{ project_postgresql_initdb_flags_pwfile }} {{ project_postgresql_initdb_flags_auth }}\"\n      RedHat: \"{{ project_postgresql_initdb_flags }} {{ project_postgresql_initdb_flags_pwfile }} {{ project_postgresql_initdb_flags_auth }}\"\n      # XXX you cannot use --auth-host or --auth-local here because\n      # pg_createcluster, which is executed during the installation, overrides\n      # them, forcing md5\n      Debian: \"{{ project_postgresql_initdb_flags }} {{ project_postgresql_initdb_flags_pwfile }}\"\n\n    postgresql_initdb_flags: \"{{ os_postgresql_initdb_flags[ansible_os_family] }}\"\n    os_postgresql_flags:\n      FreeBSD: |\n        postgresql_flags=\"-w -s -m fast\"\n      OpenBSD: \"\"\n      Debian: \"\"\n      RedHat: \"\"\n    postgresql_flags: \"{{ os_postgresql_flags[ansible_os_family] }}\"\n\n    # _________________________________________nginx\n    www_root_dir: \"{% if ansible_os_family == 'FreeBSD' %}/usr/local/www/nginx{% elif ansible_os_family == 'OpenBSD' %}/var/www/htdocs{% elif ansible_os_family == 'Debian' %}/var/www/html{% elif ansible_os_family == 'RedHat' %}/usr/share/nginx/html{% endif %}\"\n    nginx_flags: -q\n    nginx_config: |\n      {% if ansible_os_family == 'Debian' or ansible_os_family == 'RedHat' %}\n      user {{ nginx_user }};\n      pid /run/nginx.pid;\n      {% endif %}\n      worker_processes 1;\n      error_log {{ nginx_error_log_file }};\n      events {\n        worker_connections 1024;\n      }\n      http {\n        include {{ nginx_conf_dir }}/mime.types;\n        access_log {{ nginx_access_log_file }};\n        default_type application/octet-stream;\n        sendfile on;\n        keepalive_timeout 65;\n        server {\n          listen 80;\n          server_name localhost;\n          client_max_body_size 25m;\n\n          location /static/ {\n      {% if ansible_os_family == 'OpenBSD' %}\n            alias /htdocs/netbox/netbox/netbox/static/;\n      {% else %}\n            alias {{ netbox_static_dir }}/;\n      {% endif %}\n          }\n          location / {\n            proxy_pass {{ netbox_bind_scheme }}://{{ netbox_bind_address }}:{{ netbox_bind_port }};\n            proxy_set_header X-Forwarded-Host $http_host;\n            proxy_set_header X-Real-IP $remote_addr;\n            proxy_set_header X-Forwarded-Proto $scheme;\n          }\n        }\n      }\n    nginx_config_fragments: []\n    nginx_extra_packages_by_os:\n      FreeBSD:\n        - security/py-certbot-nginx\n      OpenBSD: []\n      Debian:\n        - nginx-extras\n      RedHat: []\n    nginx_extra_packages: \"{{ nginx_extra_packages_by_os[ansible_os_family] }}\"\n    redhat_repo:\n      epel:\n        mirrorlist: \"http://mirrors.fedoraproject.org/mirrorlist?repo=epel-{{ ansible_distribution_major_version }}\u0026arch={{ ansible_architecture }}\"\n        gpgcheck: yes\n        enabled: yes\n    # _________________________________________redis\n    redis_password: password\n    redis_config: |\n      databases 17\n      save 900 1\n      requirepass \"{{ redis_password }}\"\n      bind 127.0.0.1\n      protected-mode yes\n      port {{ redis_port }}\n      timeout 0\n      tcp-keepalive 300\n      daemonize yes\n      pidfile /var/run/redis/{{ redis_service }}.pid\n      loglevel notice\n      logfile {{ redis_log_file }}\n      always-show-logo no\n      dbfilename dump.rdb\n      dir {{ redis_db_dir }}/\n```\n\n# License\n\n```\nCopyright (c) 2022 Tomoyuki Sakurai \u003cy@trombik.org\u003e\n\nPermission to use, copy, modify, and distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\nANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\nOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n```\n\n# Author Information\n\nTomoyuki Sakurai \u003cy@trombik.org\u003e\n\nThis README was created by [qansible](https://github.com/trombik/qansible)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrombik%2Fansible-role-netbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrombik%2Fansible-role-netbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrombik%2Fansible-role-netbox/lists"}