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

solr.yml 774B

12345678910111213141516171819202122
  1. - name: Install Solr and related packages
  2. apt: pkg={{ item }} state=present
  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