From 3ae840cf13ee4109462adba3ee566b11ec45fb75 Mon Sep 17 00:00:00 2001 From: Brett Meehan Date: Fri, 18 Oct 2019 18:11:00 +1100 Subject: [PATCH] ITOPSENG-101 work around ansible not handling unzip -j --- .../tasks/jira-servicedesk_as_obr.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/roles/product_install/tasks/jira-servicedesk_as_obr.yml b/roles/product_install/tasks/jira-servicedesk_as_obr.yml index 7f9702d..b8c0369 100644 --- a/roles/product_install/tasks/jira-servicedesk_as_obr.yml +++ b/roles/product_install/tasks/jira-servicedesk_as_obr.yml @@ -53,5 +53,13 @@ owner: "{{ atl_product_user }}" group: "{{ atl_product_user }}" mode: 0750 - extra_opts: - - "-j" + # Ansible unarchive task validation does not work with the -j flag so we need to achieve the same result in 2 steps + # extra_opts: + # - "-j" + +- name: Copy JSD dependency jars into the installed-plugins dir + copy: + src: "{{ item }}" + dest: "{{ atl_product_version_cache_dir }}/plugins/installed-plugins" + remote_src: true + with_fileglob: "{{ atl_product_version_cache_dir }}/plugins/installed-plugins/dependencies/*.jar"