Implement playbook to upgrade a Jira node

This commit is contained in:
Ben Partridge
2020-03-24 16:52:41 +11:00
parent ee300e3391
commit 9ca02cfc29

26
jira_dc_upgrade_node.yml Normal file
View 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