Files
dc-deployments-automation/roles/installer_download/tasks/main.yml

24 lines
680 B
YAML

---
- 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"