Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. - name: Set the current Solr binaries version if present
  2. set_fact: current_solr_binaries_version="{{ current_solr_binaries_version_output.stdout }}"
  3. when: current_solr_binaries_version_output.rc == 0 and current_solr_binaries_version_output.stdout != '' and deployment != 'reinstall'
  4.  
  5.  
  6.  
  7.  
  8. when: (current_solr_binaries_version != solr_version) or (deployment == 'reinstall')
  9.  
  10.  
  11.  
  12.  
  13. TASK [solr : Remove current Solr installation] *********************************
  14. fatal: [Hostname]: FAILED! => {"msg": "The conditional check '(current_solr_binaries_version != solr_version) or (BUILD_TYPE == 'reinstall')' failed. The error was: error while evaluating conditional ((current_solr_binaries_version != solr_version) or (BUILD_TYPE == 'reinstall')): 'current_solr_binaries_version' is undefined\n\nThe error appears to be in '/etc/ansibleJDK11/roles/solr/tasks/install.yml': line 66, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n- block:\n - name: Remove current Solr installation\n ^ here\n"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement