We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e8d5ed + debcab7 commit b54205cCopy full SHA for b54205c
roles/splunk_common/tasks/get_facts.yml
@@ -77,10 +77,8 @@
77
78
- name: "Determine if Splunk has preinstall checks"
79
set_fact:
80
- splunk_preinstall: "true"
81
- vars:
82
- target_version: "{{ splunk_target_version | first }}"
83
- when: "splunk_target_version is defined and target_version is version('9.4.0', '>=')"
+ splunk_preinstall: "{{ splunk_target_version | first is version('9.4.0', '>=') }}"
+ when: splunk_target_version is defined and splunk_target_version | length > 0
84
85
# We are upgrading if it is not a fresh installation and the current version is different from the target version,
86
# and allowing upgrades between new and old hashes of the same version.
0 commit comments