---

# Version of Shash TM to install
squashtm_version: 3.0.5
# Archive URL which will be downloaded during install/upgrades
squashtm_archive_url: https://nexus.squashtest.org/nexus/repository/public-releases/tm/core/squash-tm-distribution/{{ squashtm_version }}.RELEASE/squash-tm-{{ squashtm_version }}.RELEASE.tar.gz
# Expected checksum of the archive
squashtm_archive_sha256: 4e5cc42a774866ac1d91bd938efd833eb952f36bbdd875a67e8bc2f0ca2407ff
# Should ansible handle upgrades ? (if False, only initial install and configuration will be done)
squashtm_manage_upgrade: True

# Directory where Squash TM will be installed
squashtm_root_dir: /opt/squash_tm
# User account under which the software will run (will be created if needed)
squashtm_user: squashtm

# TCP port on which Squash TM will listen
squashtm_port: 8088
# List of IP/CIDR for which this port will be reachable (with iptable_manage is True)
# Empty list means the port won't be opened
squashtm_src_ip: []

# Database settings
# Engine can be mysql or postgres
squashtm_db_engine: mysql
# Database server
squashtm_db_server: "{{ (squashtm_db_engine == 'postgres') | ternary(pg_server, mysql_server) | default('localhost') }}"
squashtm_db_port: "{{ (squashtm_db_engine == 'postgres') | ternary('5432', '3306') }}"
squashtm_db_user: squashtm
squashtm_db_name: squashtm
# If the password is not set, a random one will be created and stored in {{ squashtm_root_dir }}/meta/ansible_dbpass
# squashtm_db_pass: 'S3cr3t.'

# Credentials in Squash TM database are encrypted with a passphrase. If not defined,
# a random one will be created and stored in {{ squashtm_root_dir }}/meta/ansible_secret
# squashtm_secret: p@ssw0rd
