This role:
- Uninstalls Solr on Centos 7, Ubuntu or Windows host
- Minimal Version of the ansible for installation: 2.7
- Solr installed
- Supported OS:
- CentOS
- 7
- Ubuntu
- Windows
- "Windows Server 2008"
- "Windows Server 2008 R2"
- "Windows Server 2012"
- "Windows Server 2012 R2"
- "Windows Server 2016"
- "Windows 7"
- "Windows 8.1"
- "Windows 10"
- CentOS
-
solr_version
- matches available version on https://archive.apache.org/dist/lucene/solr/. Tested versions 5.3-8.xdefault:
8.0.0
-
dest_main_path
- root directory to store solr folderdefault:
/opt
for Linuxdefault:
C:\Solr
for Windows -
solr_dest_path
- solr folder pathdefault:
{{ dest_main_path }}/solr-{{ solr_version }}
-
solr_user
- os user to run solr servicedefault:
solr
-
solr_group
- os group for userdefault:
solr
-
solr_service_name
- solr service namedefault:
solr
-
solr_base_path
- path to solr basedefault:
/var/solr
-
solr_insh_default
- path to solr.in.shdefault:
/etc/default/solr.in.sh
-
solr_with_systemd
- to run solr as a servicedefault:
True
-
solr_remove_user
- to remove user and groupdefault:
False
[solr]
solr.example.com
[solrwin]
solrwin.example.com
[solrwin:vars]
ansible_user=admin
ansible_password=password
ansible_connection=winrm
ansible_winrm_server_cert_validation=ignore
- name: Uninstall Solr
hosts: solr
roles:
- role: lean_delivery.solr_uninstall
Apache
authors:
- Lean Delivery Team [email protected]