Ubuntu 18.04 support #70

Closed
Ghost wants to merge 38 commits from ubuntu into unstable
Showing only changes of commit 92775ddc6c - Show all commits

View file

@ -1,12 +1,4 @@
---
- name: "Change default ulimit for container {{ name }}"
blockinfile:
dest: "/var/lib/lxc/{{ name }}/rootfs/root/.bashrc"
marker: "# {mark} set ulimit for Solr"
block: |
ulimit -n 65000
ulimit -u 65000
- name: Install openjdk-8-jre-headless package
command: "lxc-attach -n {{name}} -- apt-get install -y openjdk-8-jre-headless"
@ -34,6 +26,3 @@
changed_when: false
register: service_solr_status
- name: "Start Solr {{ solr_version }}"
command: "lxc-attach -n {{name}} -- /opt/solr-{{ solr_version }}/bin/solr start -p {{ solr_port }} -force"
when: service_solr_status | failed