mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
Merged in additional-bool-filter-cleanup (pull request #126)
Additional bool filter cleanup Approved-by: Geoff Jacobs
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
atl_product_family: "jira"
|
atl_product_family: "jira"
|
||||||
atl_product_user: "jira"
|
atl_product_user: "jira"
|
||||||
atl_product_edition: "jira-{{ lookup('env', 'ATL_PRODUCT_EDITION') | lower }}"
|
atl_product_edition: "jira-{{ lookup('env', 'ATL_PRODUCT_EDITION') | lower }}"
|
||||||
atl_install_jsd_as_obr: "{{ lookup('env', 'ATL_JSD_ASOBR') }}"
|
atl_install_jsd_as_obr: "{{ lookup('env', 'ATL_JSD_ASOBR') | bool }}"
|
||||||
atl_systemd_service_name: "jira.service"
|
atl_systemd_service_name: "jira.service"
|
||||||
|
|
||||||
atl_startup_systemd_params:
|
atl_startup_systemd_params:
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ atl_servicedesk_url_map:
|
|||||||
default: "{{ atl_servicedesk_versioned_url }}"
|
default: "{{ atl_servicedesk_versioned_url }}"
|
||||||
atl_servicedesk_metadata_url: "{{ atl_servicedesk_url_map[atl_product_version] | default(atl_servicedesk_url_map['default']) }}"
|
atl_servicedesk_metadata_url: "{{ atl_servicedesk_url_map[atl_product_version] | default(atl_servicedesk_url_map['default']) }}"
|
||||||
|
|
||||||
|
atl_install_jsd_as_obr: false
|
||||||
atl_servicedesk_download_file: "{{ atl_installer_temp }}/jira-servicedesk.{{ atl_product_version }}.obr"
|
atl_servicedesk_download_file: "{{ atl_installer_temp }}/jira-servicedesk.{{ atl_product_version }}.obr"
|
||||||
|
|
||||||
force_version_update: false
|
force_version_update: false
|
||||||
|
|||||||
@@ -34,4 +34,8 @@ def test_completed_lockfile(host):
|
|||||||
|
|
||||||
lockfile = host.file('/media/atl/downloads/jira-core.'+upstream+'-x64.bin_completed')
|
lockfile = host.file('/media/atl/downloads/jira-core.'+upstream+'-x64.bin_completed')
|
||||||
assert lockfile.exists
|
assert lockfile.exists
|
||||||
assert lockfile.user == 'root'
|
assert lockfile.user == 'root'
|
||||||
|
|
||||||
|
def test_servicedesk_not_installed(host):
|
||||||
|
plugins = host.file('/media/atl/jira/shared/plugins/installed-plugins')
|
||||||
|
assert (not plugins.exists) or (len(list(filter(lambda p: 'servicedesk' in p, jars))) == 0)
|
||||||
|
|||||||
@@ -267,6 +267,4 @@
|
|||||||
|
|
||||||
- name: Include if jsd is requested to be installed from OBR
|
- name: Include if jsd is requested to be installed from OBR
|
||||||
include_tasks: "jira-servicedesk_as_obr.yml"
|
include_tasks: "jira-servicedesk_as_obr.yml"
|
||||||
when:
|
when: atl_install_jsd_as_obr
|
||||||
- atl_install_jsd_as_obr is defined
|
|
||||||
- atl_install_jsd_as_obr | bool
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Mostly for molecule testing, as skip-tags doesn't work with handlers.
|
# Mostly for molecule testing, as skip-tags doesn't work with handlers.
|
||||||
atl_startup_enable: true
|
atl_startup_enable: true
|
||||||
atl_startup_restart: "{{ lookup('env', 'ATL_STARTUP_RESTART') or true }}"
|
atl_startup_restart: "{{ lookup('env', 'ATL_STARTUP_RESTART') | default(true) | bool }}"
|
||||||
|
|
||||||
atl_startup_script_map:
|
atl_startup_script_map:
|
||||||
jira: "bin/start-jira.sh"
|
jira: "bin/start-jira.sh"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
service:
|
service:
|
||||||
name: "{{ atl_systemd_service_name }}"
|
name: "{{ atl_systemd_service_name }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
when: atl_startup_restart | bool
|
when: atl_startup_restart
|
||||||
no_log: true
|
no_log: true
|
||||||
|
|
||||||
- name: Enable Product
|
- name: Enable Product
|
||||||
|
|||||||
Reference in New Issue
Block a user