mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-16 01:43:06 -06:00
Implement playbook to upgrade a Jira node
This commit is contained in:
26
jira_dc_upgrade_node.yml
Normal file
26
jira_dc_upgrade_node.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
- hosts: aws_node_local
|
||||
become: true
|
||||
|
||||
vars:
|
||||
# See group_vars/aws_node_local.yml, which pull vars from the environment.
|
||||
atl_product_family: "jira"
|
||||
atl_product_user: "jira"
|
||||
atl_product_edition: "jira-{{ lookup('env', 'ATL_PRODUCT_EDITION') | lower }}"
|
||||
atl_install_jsd_as_obr: "{{ lookup('env', 'ATL_JSD_ASOBR') }}"
|
||||
atl_systemd_service_name: "jira.service"
|
||||
|
||||
atl_startup_systemd_params:
|
||||
- "LimitNOFILE=16384"
|
||||
|
||||
pre_tasks:
|
||||
- name: stop jira
|
||||
service:
|
||||
name: "{{ atl_systemd_service_name }}"
|
||||
state: stopped
|
||||
|
||||
roles:
|
||||
- role: product_common
|
||||
- role: product_install
|
||||
- role: jira_config
|
||||
- role: product_startup
|
||||
Reference in New Issue
Block a user