Skip to content

Commit 383f70d

Browse files
authored
Merge pull request #144 from positiveEV/patch-1
Fix non boolean conditional for ansible 2.19
2 parents 9568459 + 9557ea6 commit 383f70d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@
6464

6565
# Create cores, if any are configured.
6666
- include_tasks: cores.yml
67-
when: "solr_cores and solr_version.split('.')[0] >= '5'"
67+
when: "solr_cores is defined and solr_version.split('.')[0] >= '5'"
6868

6969
- include_tasks: trim-fat.yml

0 commit comments

Comments
 (0)