ansible-role-ara/defaults/main.yml

49 lines
1.6 KiB
YAML

---
# Copyright (c) 2018 Red Hat, Inc.
#
# This file is part of ARA Records Ansible.
#
# ARA is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ARA is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with ARA. If not, see <http://www.gnu.org/licenses/>.
ara:
config:
database: "sqlite:////var/lib/ara/ansible.sqlite"
# Host to listen on for embedded server, apache or nginx
host: "{{ ansible_default_ipv4.address }}"
# Port to listen on for embedded server or apache
port: 9191
# Root (or prefix) for the web application location
application_root: /
# Directory where files are stored by default
dir: /var/lib/ara
# Path to the logging configuration
logconfig: /etc/ara/logging.yml
# Where logs are located
logfile: /var/log/ara/ara.log
deployment:
# Server (apache, embedded, nginx)
server: embedded
# Type (mod_wsgi, standalone, embedded-proxy, etc.)
type: standalone
nginx:
# Where nginx will store the proxy cache
cache_directory: /var/cache/nginx
# You can use a variable called ara_override to use custom configuration
# parameters.
# ara_override:
# config:
# database: "mysql+pymysql://ara:password@localhost/ara"