Ansible-SnipeIT/roles/snipeit/defaults/main.yml
2024-06-18 06:12:46 -06:00

57 lines
2 KiB
YAML

---
# file: roles/snipeit/defaults/main.yml
snipeit_ssl_crt: "/etc/ssl/dc-assets01/live/fullchain.pem"
snipeit_ssl_key: "/etc/ssl/dc-assets01/live/privkey.pem"
snipeit_user: "{{ ansible_user }}"
snipeit_install_path: "/opt/snipeit"
snipeit_config_app_env: "production"
snipeit_config_debug: "false"
snipeit_config_app_url: "https://{{ ansible_host }}"
snipeit_config_app_key: "ChangeMe"
snipeit_config_app_locale: "en-US"
snipeit_config_app_timezone: "UTC"
snipeit_config_app_max_results: "500"
snipeit_config_private_filesystem_disk: "local"
snipeit_config_public_filesystem_disk: "local_public"
snipeit_config_db_connection: "mysql"
snipeit_config_db_host: "127.0.0.1"
snipeit_config_db_port: "3306"
snipeit_config_db_database: "snipeit"
snipeit_config_db_username: "snipe_user"
snipeit_config_db_password: "changeme"
snipeit_config_db_prefix: "null"
snipeit_config_db_dump_path: "/usr/bin"
snipeit_config_db_charset: "utf8mb4"
snipeit_config_db_collation: "utf8mb4_unicode_ci"
snipeit_config_db_ssl: "false"
snipeit_config_db_ssl_is_paas: "false"
snipeit_config_db_ssl_key_path: "null"
snipeit_config_db_ssl_cert_path: "null"
snipeit_config_db_ssl_ca_path: "null"
snipeit_config_db_ssl_cipher: "null"
snipeit_config_db_ssl_verify_server: "null"
snipeit_config_mail_driver: "smtp"
snipeit_config_mail_host: "email-smtp.us-west-2.amazonaws.com"
snipeit_config_mail_port: "587"
snipeit_config_mail_username: "YOURUSERNAME"
snipeit_config_mail_password: "YOURPASSWORD"
snipeit_config_mail_encryption: "null"
snipeit_config_mail_from_addr: "you@example.com"
snipeit_config_mail_from_name: "Snipe-IT"
snipeit_config_mail_replyto_addr: "you@example.com"
snipeit_config_mail_replyto_name: "Snipe-IT"
snipeit_config_mail_auto_embed_method: "attachment"
snipeit_config_image_lib: "gd"
snipeit_nginx_config: "snipeit.conf.j2"
snipeit_nginx_servername: "{{ snipeit_config_app_url | regex_findall('(?<=https://).*') | first }}"
snipeit_nginx_config_output: "{{ snipeit_nginx_config.replace('.j2','') }}"