mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-386: Rework product_startup to support more systemd params and add tests for some corner cases.
This commit is contained in:
28
roles/product_startup/molecule/bitbucket/playbook.yml
Normal file
28
roles/product_startup/molecule/bitbucket/playbook.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
- name: Converge
|
||||
hosts: all
|
||||
vars:
|
||||
atl_product_user: "bitbucket"
|
||||
atl_product_family: "stash"
|
||||
atl_product_edition: "bitbucket"
|
||||
|
||||
atl_startup_systemd_params:
|
||||
- "UMask=0027"
|
||||
- "LimitNOFILE=4096"
|
||||
- "Environment=BITBUCKET_HOME={{ atl_product_home_shared }}"
|
||||
|
||||
atl_startup_exec_options:
|
||||
- "-fg"
|
||||
- "--no-search"
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user