Skip to content

Commit 581f691

Browse files
author
Tobias Richter
committed
Fix Galaxy lint issues
1 parent f7a2d7e commit 581f691

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

defaults/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,3 @@ aem_cms_in_place_upgrade_paths:
6565
- "6.4.0"
6666
# "from_version":
6767
# - "to_version" # list of versions that an upgrade is allowed for
68-

meta/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ dependencies:
3333
version: 2.19.1,
3434
java_remove_download: false,
3535
tags: "dev.java",
36-
when: aem_cms_dependency_java == true
37-
}
36+
when: aem_cms_dependency_java
37+
}

tasks/in_place_upgrade.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# get the latest version of all the existing jar files
22
- name: "in_place_upgrade : detect version to upgrade from."
33
set_fact:
4-
aem_cms_in_place_upgrade_existing_version: "{{ aem_cms_in_place_upgrade_existing_quickstarts | map('regex_replace', '^.*cq-quickstart-(.+)-standalone-quickstart.jar$', '\\1') | list | sort | reverse | list | first}}"
4+
aem_cms_in_place_upgrade_existing_version: "{{ aem_cms_in_place_upgrade_existing_quickstarts | map('regex_replace', '^.*cq-quickstart-(.+)-standalone-quickstart.jar$', '\\1') | list | sort | reverse | list | first }}"
55

66
# safe gate which only allows upgrades when allowed
77
- name: "in_place_upgrade : fail when upgrade is not allowed."
@@ -38,4 +38,4 @@
3838
- name: "in_place_upgrade : create a backup of existing quickstart(s)."
3939
command: "mv {{ item }} {{ item }}.bak"
4040
changed_when: true
41-
with_items: "{{ aem_cms_in_place_upgrade_existing_quickstarts }}"
41+
with_items: "{{ aem_cms_in_place_upgrade_existing_quickstarts }}"

tasks/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@
5555
- aem_cms_in_place_upgrade_existing_quickstarts | length > 0
5656

5757
- name: Unpack AEM.
58-
shell: "su {{ aem_cms_user }} -l -c 'java -jar {{ aem_cms_download_path }}/{{ aem_cms_quickstart_name }} -unpack -b {{ aem_cms_home }}'"
58+
shell: >-
59+
su {{ aem_cms_user }} -l -c
60+
'java -jar {{ aem_cms_download_path }}/{{ aem_cms_quickstart_name }}
61+
-unpack
62+
-b {{ aem_cms_home }}'
5963
args:
6064
creates: "{{ aem_cms_home }}/crx-quickstart/app/cq-quickstart-{{ aem_cms_version }}-standalone-quickstart.jar"
6165
warn: false
@@ -82,4 +86,4 @@
8286

8387
- name: Setup i386 support for XMPFilesProcessor.
8488
include: xmp_i386.yml
85-
when: ansible_architecture == 'x86_64'
89+
when: ansible_architecture == 'x86_64'

0 commit comments

Comments
 (0)