mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
DCD-1205: Rename playbook.yml -> converge.yml for Molecule v3.
This commit is contained in:
39
roles/product_startup/molecule/bitbucket/converge.yml
Normal file
39
roles/product_startup/molecule/bitbucket/converge.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
- name: Converge
|
||||
hosts: all
|
||||
vars:
|
||||
atl_product_user: "bitbucket"
|
||||
atl_product_family: "stash"
|
||||
atl_product_edition: "bitbucket"
|
||||
|
||||
atl_product_home: "{{ atl_shared_mountpoint }}/{{ atl_product_edition }}"
|
||||
atl_product_home_shared: "{{ atl_product_home }}/shared"
|
||||
atl_jvm_heap: "dummy_heap"
|
||||
atl_jvm_opts: "dummy_opts"
|
||||
|
||||
atl_startup_systemd_params:
|
||||
- "UMask=0027"
|
||||
- "LimitNOFILE=4096"
|
||||
- "Environment=BITBUCKET_HOME={{ atl_product_home }}"
|
||||
- "Environment=JVM_MAXIMUM_MEMORY={{ atl_jvm_heap }}"
|
||||
- "Environment=JVM_MINIMUM_MEMORY={{ atl_jvm_heap }}"
|
||||
- "Environment=JVM_SUPPORT_RECOMMENDED_ARGS={{ atl_jvm_opts }}"
|
||||
|
||||
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: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- '/usr/lib/systemd/system/'
|
||||
- '/lib/systemd/system/'
|
||||
|
||||
roles:
|
||||
- role: product_startup
|
||||
Reference in New Issue
Block a user