Add all files needed to bring up VM and run agaric.com locally

This commit is contained in:
benjamin melançon 2018-08-20 10:45:20 -04:00
parent 52c8b60bac
commit 4d2bc0ee24
742 changed files with 24037 additions and 0 deletions

View 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