diff --git a/roles/splunk_common_uf/tasks/pre_install_subtasks/get_facts.yml b/roles/splunk_common_uf/tasks/pre_install_subtasks/get_facts.yml index 7a726ad..0206b03 100755 --- a/roles/splunk_common_uf/tasks/pre_install_subtasks/get_facts.yml +++ b/roles/splunk_common_uf/tasks/pre_install_subtasks/get_facts.yml @@ -5,7 +5,7 @@ - name: "Check for existing installation" stat: - path: /opt/splunkforwarder/bin/splunk + path: "{{splunk_exec_uf}}" become: yes register: pre_existing_splunk_exec