暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

solr.yml 749B

1234567891011121314151617181920
  1. - name: Install Solr and related packages
  2. apt: pkg={{ item }} state=installed
  3. with_items:
  4. - solr-tomcat
  5. - dovecot-solr
  6. - name: Work around Debian bug and copy Solr schema file into place
  7. copy: src=solr-schema.xml dest=/etc/solr/conf/schema.xml group=root owner=root
  8. - name: Copy tweaked Tomcat config file into place
  9. copy: src=etc_tomcat6_server.xml dest=/etc/tomcat6/server.xml group=tomcat6 owner=root
  10. notify: restart solr
  11. - name: Copy tweaked Solr config file into place
  12. copy: src=etc_solr_conf_solrconfig.xml dest=/etc/solr/conf/solrconfig.xml group=root owner=root
  13. notify: restart solr
  14. - name: Create Solr index directory
  15. file: state=directory path=/decrypted/solr group=tomcat6 owner=tomcat6
  16. notify: restart solr