Sin descripción
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 776B

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