暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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