ansible-roles/roles/squash_tm/defaults/main.yml

37 lines
1.6 KiB
YAML

---
# Version of Shash TM to install
squashtm_version: 6.0.1
# 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: 23ca0e3c48d0c55d8fd769f34d438dcbc4c85d3ef684333e94960cc705949b0d
# 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