mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
adding the file command on azl2 to help with mimetype discovery. adding some failed_when logic to unarchiving the obr
This commit is contained in:
@@ -3,10 +3,11 @@
|
|||||||
- name: Install Amazon-Linux-specific support packages
|
- name: Install Amazon-Linux-specific support packages
|
||||||
yum:
|
yum:
|
||||||
name:
|
name:
|
||||||
- shadow-utils
|
|
||||||
- libxml2
|
|
||||||
- git-{{ git_version }}
|
|
||||||
- dejavu-sans-fonts
|
- dejavu-sans-fonts
|
||||||
|
- file
|
||||||
|
- git-{{ git_version }}
|
||||||
|
- libxml2
|
||||||
|
- shadow-utils
|
||||||
|
|
||||||
- name: Limit the SSH ciphers
|
- name: Limit the SSH ciphers
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
|||||||
@@ -238,6 +238,11 @@
|
|||||||
mode: 0750
|
mode: 0750
|
||||||
extra_opts: [-j] # pass the junk paths to the unzip command so we flatten the dependencies directory
|
extra_opts: [-j] # pass the junk paths to the unzip command so we flatten the dependencies directory
|
||||||
register: obr_unpack
|
register: obr_unpack
|
||||||
|
failed_when: # validation doesn't handle the -j flag, so this deals with the /dependencies/ directory not existing on dest.
|
||||||
|
- obr_unpack.rc > 0
|
||||||
|
- "'Unexpected error when accessing exploded file' not in obr_unpack.msg"
|
||||||
|
- "'No such file or directory' not in obr_unpack.msg"
|
||||||
|
- "'{{ atl_product_installation_versioned }}/atlassian-jira/WEB-INF/atlassian-bundled-plugins/dependencies/' not in obr_unpack.msg"
|
||||||
|
|
||||||
# - name: Move JSD dependency jars into the installed-plugins dir # noqa 503 - ignore lint info about when changed
|
# - name: Move JSD dependency jars into the installed-plugins dir # noqa 503 - ignore lint info about when changed
|
||||||
# copy:
|
# copy:
|
||||||
|
|||||||
Reference in New Issue
Block a user