Add all files needed to bring up VM and run agaric.com locally
This commit is contained in:
parent
52c8b60bac
commit
4d2bc0ee24
742 changed files with 24037 additions and 0 deletions
22
box/provisioning/roles/geerlingguy.solr/tasks/configure.yml
Normal file
22
box/provisioning/roles/geerlingguy.solr/tasks/configure.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
- name: Remove existing SOLR_HEAP configuration.
|
||||
lineinfile:
|
||||
dest: "{{ solr_config_file }}"
|
||||
regexp: "^SOLR_HEAP"
|
||||
state: absent
|
||||
notify: restart solr
|
||||
|
||||
- name: Apply Solr configuration changes.
|
||||
lineinfile:
|
||||
dest: "{{ solr_config_file }}"
|
||||
regexp: "{{ item.regexp }}"
|
||||
line: "{{ item.line }}"
|
||||
state: present
|
||||
with_items:
|
||||
- regexp: "^.?SOLR_JAVA_MEM="
|
||||
line: 'SOLR_JAVA_MEM="-Xms{{ solr_xms }} -Xmx{{ solr_xmx }}"'
|
||||
- regexp: "^SOLR_PORT="
|
||||
line: 'SOLR_PORT="{{ solr_port }}"'
|
||||
- regexp: "^.?SOLR_TIMEZONE="
|
||||
line: 'SOLR_TIMEZONE="{{ solr_timezone }}"'
|
||||
notify: restart solr
|
Loading…
Add table
Add a link
Reference in a new issue