Няма описание
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.

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