mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-11 15:53:21 +02:00
Update to 2024-08-01 12:00
This commit is contained in:
parent
7ca183d87f
commit
d95feec915
@ -1,11 +1,11 @@
|
||||
---
|
||||
|
||||
# Version of Shash TM to install
|
||||
squashtm_version: 7.0.3
|
||||
squashtm_version: 7.1.0
|
||||
# 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: e4f1417f8883cef761d32161f50f1c1e6157b0f82a90a0e1252efc2f510e6d3f
|
||||
squashtm_archive_sha256: 2b61241782a38af287ca09f500bd90b3a4c6c06857129370e45fda6c3ad4e6f2
|
||||
# Should ansible handle upgrades ? (if False, only initial install and configuration will be done)
|
||||
squashtm_manage_upgrade: True
|
||||
|
||||
@ -34,3 +34,7 @@ squashtm_db_name: squashtm
|
||||
# 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
|
||||
|
||||
# JWT secret for API tokens. If not defined,
|
||||
# a random one will be created and stored in {{ squashtm_root_dir }}/meta/ansible_jwt_secret
|
||||
# squash_jwt_secret: s3cr3t.P@ssw0rd
|
||||
|
@ -37,3 +37,14 @@
|
||||
when: squashtm_secret is not defined
|
||||
tags: squashtm
|
||||
|
||||
# Create a random JWT secret
|
||||
- block:
|
||||
- import_tasks: ../includes/get_rand_pass.yml
|
||||
vars:
|
||||
- pass_file: "{{ squashtm_root_dir }}/meta/ansible_jwt_secret"
|
||||
- pass_size: 86
|
||||
- complex: false
|
||||
- set_fact: squashtm_jwt_secret={{ rand_pass }}
|
||||
when: squashtm_jwt_secret is not defined
|
||||
tags: squashtm
|
||||
|
||||
|
@ -9,3 +9,5 @@ server.tomcat.basedir={{ squashtm_root_dir }}/data/tomcat
|
||||
squash.crypto.secret={{ squashtm_secret }}
|
||||
squash.path.bundles-path={{ squashtm_root_dir }}/app/bundles
|
||||
squash.path.plugins-path={{ squashtm_root_dir }}/app/plugins
|
||||
|
||||
squash.rest-api.jwt.secret={{ squashtm_jwt_secret }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user