ansible-role-zammad/defaults/main.yml
phil eb0c35701b Postgres doesn't allow connections via hostname
This role needs to delegate the database tasks to a database host -
which sometimes is the same host that runs Zammad
(delegate_to: localhost doesn't work because it wants to run the
tasks at the Ansible controler)
We need to distinguish between the database_host and the zammad_database_host
The later one can be set to 127.0.0.1 to allow local database connections
without using the hostname
2023-12-22 11:06:37 +01:00

37 lines
1.3 KiB
YAML

---
opensearch:
apt_key_url: https://artifacts.opensearch.org/publickeys/opensearch.pgp
apt_repo: https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/apt stable main
network_host: 127.0.0.1
http_port: 9200
attachment_max_size: 50
opensearch_plugin_update_script: update-opensearch-plugins
opensearch_monit_service: opensearch
ruby_path: "{{ zammad_user_home }}/.rbenv"
ruby_bin_path: "{{ ruby_path }}/versions/{{ ruby_version }}/bin"
ruby_build_repo: https://github.com/rbenv/ruby-build.git
zammad_database_name: zammad
zammad_database_password: "{{ lookup('ansible.builtin.password', '/tmp/zammad_database_pwd length=42 chars=ascii_letters,digits') }}"
zammad_database_user: zammad
zammad_database_host: "{{ database_host }}"
zammad_database_configuration: "{{ zammad_home }}/config/database.yml"
zammad_env_file: /etc/zammad/zammad.env
zammad_home: /opt/zammad
zammad_log_file: zammad.log
zammad_log_name: zammad
zammad_log_path: /var/log/zammad
zammad_repo: https://github.com/zammad/zammad.git
zammad_user: _zammad
zammad_user_home: /var/lib/zammad
zammad_webserver_configuration: "/etc/nginx/sites-available/{{ zammad_domain }}"
zammad_service: zammad.service
zammad_rails_service: zammad-rails.service
zammad_websocket_service: zammad-websocket.service
zammad_worker_service: zammad-worker.service
zammad_nodejs_version: 20