DCD-386: Rework product_startup to support more systemd params and add tests for some corner cases.

This commit is contained in:
Steve Smith
2019-05-31 10:52:58 +10:00
parent 54eaed5469
commit 9e2eb50a6b
15 changed files with 281 additions and 1 deletions

View File

@@ -1,8 +1,17 @@
---
# Mostly for molecule testing, as skip-tags doesn't work with handlers.
atl_startup_enable: true
atl_startup_restart: true
atl_startup_script_map:
jira: "start-jira.sh"
confluence: "start-confluence.sh"
stash: "start-bitbucket.sh"
atl_startup_exec_path: "{{ atl_product_installation_current }}/bin/{{ atl_startup_script_map[atl_product_family] }}"
atl_startup_exec_options: ["-fg"]
atl_startup_systemd_params: []
atl_systemd_service_name: "{{ atl_product_edition }}.service"