Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

solr.yml 916B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. ---
  2. # Installs and configures the Solr full-text-search.
  3. - name: Install Solr and related packages
  4. apt:
  5. name: "{{ packages }}"
  6. state: present
  7. vars:
  8. packages:
  9. - dovecot-solr
  10. - solr-tomcat
  11. tags:
  12. - dependencies
  13. - name: Work around Debian bug and copy Solr schema file into place
  14. copy:
  15. src=solr-schema.xml
  16. dest=/etc/solr/conf/schema.xml
  17. owner=root
  18. group=root
  19. - name: Copy tweaked Tomcat config file into place
  20. copy:
  21. src=etc_tomcat8_server.xml
  22. dest=/etc/tomcat8/server.xml
  23. owner=root
  24. group=tomcat8
  25. notify: restart solr
  26. - name: Copy tweaked Solr config file into place
  27. copy:
  28. src=etc_solr_conf_solrconfig.xml
  29. dest=/etc/solr/conf/solrconfig.xml
  30. owner=root
  31. group=root
  32. notify: restart solr
  33. - name: Create Solr index directory
  34. file:
  35. state=directory
  36. path=/data/solr
  37. owner=tomcat8
  38. group=tomcat8
  39. notify: restart solr