mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
DCD-224: Create a role for installation with the binary installer.
This commit is contained in:
23
roles/installer_download/tasks/main.yml
Normal file
23
roles/installer_download/tasks/main.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
|
||||
- name: Create installation directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
mode: 0755
|
||||
with_items:
|
||||
- "{{ atl_installer_temp }}"
|
||||
- "{{ atl_product_home_shared }}"
|
||||
|
||||
|
||||
# Common case for most products and Jira editions.
|
||||
- name: Fetch ServiceDesk metadata if necessary
|
||||
include_tasks: "servicedesk_download.yml"
|
||||
when: atl_product_edition == "jira-servicedesk"
|
||||
|
||||
# Differences for ServiceDesk become fiddly enough that it's better to
|
||||
# just split them out and move common functionality into individual
|
||||
# task files.
|
||||
- name: Fetch product metadata if necessary
|
||||
include_tasks: "product_download.yml"
|
||||
when: atl_product_edition != "jira-servicedesk"
|
||||
Reference in New Issue
Block a user