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

@@ -0,0 +1,19 @@
---
- name: Converge
hosts: all
vars:
atl_product_user: "jira"
atl_product_family: "jira"
atl_product_edition: "jira-software"
atl_startup_enable: false
atl_startup_restart: false
pre_tasks:
- name: Create systemd dir if necessary
file:
path: '/etc/systemd/system/'
state: directory
roles:
- role: product_startup