https://github.com/deveryware/ansible-role-testlink
Basic installation of testlink
https://github.com/deveryware/ansible-role-testlink
Last synced: 3 months ago
JSON representation
Basic installation of testlink
- Host: GitHub
- URL: https://github.com/deveryware/ansible-role-testlink
- Owner: Deveryware
- License: mit
- Created: 2022-12-02T16:02:03.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2020-09-23T09:20:24.000Z (over 5 years ago)
- Last Synced: 2025-02-26T09:33:02.082Z (over 1 year ago)
- Homepage: http://testlink.org/
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role Testlink
## Prerequisites
* Mysql 5.6
* apache2
## Usage
http://
Initial credentials are `admin/admin`
## Example Playbook
- hosts: servers
roles:
- role: testlink
## Default variables
testlink_version: 1.9.19
testlink_user: 'testlink'
testlink_group: 'testlink'
testlink_root_dir: '/var/www'
testlink_var_dir: '/var/testlink'
testlink_dbms: 'mysql'
testlink_db_name: 'testlink'
testlink_db_user: 'testlink'
testlink_db_password: 't3stl1nk'
testlink_db_host: 'localhost'
testlink_db_prefix: ''
testlink_webserver_user: 'www-data'
## Advanced variables
### Latest Version
You may prefer to install the very latest version still in development from the github repository. In that case, you just have to set `testlink_version: latest`. You can also set the url and the branch:
testlink_version: latest
testlink_repo_url: "https://github.com/TestLinkOpenSourceTRMS/testlink-code.git"
testlink_repo_version: 'testlink_1_9'
### PHP modules
By default this role ensures that mandatory php modules below are installed:
php-common, php-cli, libapache2-mod-php, php-gd, php-mbstring, php-xml
And these optionnal php modules:
php-ldap, php-mysql
You can override this tweaking respectively the variables below:
* testlink_php_modules
* testlink_php_extra_modules
PHP > 5.5 It will be better if you use PHP 7.2.x
### LDAP
To activate the ldap configuration you need to turn `testlink_authentication_method` into 'LDAP' and set the other parameters below:
testlink_authentication_method: 'LDAP'
testlink_ldap_server: 'ldap.company.com'
testlink_ldap_port: 636
testlink_ldap_root_dn: 'dc=company,dc=com'
testlink_ldap_bind_dn: 'domain.account@company.com'
testlink_ldap_bind_passwd: 'PassWorD'
// Following configuration parameters are used to build
// ldap filter and ldap attributes used by ldap_search()
// filter => "(&$t_ldap_organization($t_ldap_uid_field=$t_username))";
// attributess => array( $t_ldap_uid_field, 'dn' );
testlink_ldap_organization: ''
testlink_ldap_uid_field: 'uid'
Set to `'true'` to activate the automatic user creation. If user does not exist on DB, but can be get from LDAP, the user will be created automatically with default user role.
testlink_ldap_automatic_user_creation: 'false'
testlink_ldap_email_field: 'mail'
testlink_ldap_firstname_field: 'givenname'
testlink_ldap_lastname_field: 'sn'
### Force https
testlink_force_https: 'true'
### SMTP
testlink_smtp_host: 'smtp.company.com'
testlink_tl_admin_email: 'admin.testlink@company.com'
testlink_from_email: 'testlink@company.com'
testlink_return_path_email: 'noreply.testlink@company.com'
### Import file max size
Maximum uploadfile size to importing stuff in TL. Also check your PHP settings, default is usually 2MBs (2097152 bytes).
Unit BYTES is required by MAX_FILE_SIZE HTML option.
testlink_import_file_max_size_bytes: '409600'
## License
MIT
## Author Information
This role was created in 2016 by Olivier Locard on the behalf of Deveryware.