From eaa229791a2882ca1d62883e8ee6af78a967df8c Mon Sep 17 00:00:00 2001 From: Tristan PILAT Date: Thu, 4 Jul 2019 12:34:39 +0200 Subject: [PATCH] We don't need these tasks anymore since we now have an init script --- lxc-solr/tasks/solr.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lxc-solr/tasks/solr.yml b/lxc-solr/tasks/solr.yml index dd36af53..3c8daeb6 100644 --- a/lxc-solr/tasks/solr.yml +++ b/lxc-solr/tasks/solr.yml @@ -14,17 +14,6 @@ dest: /var/lib/lxc/{{ name }}/rootfs/root/ remote_src: yes -- name: Set Solr autostart - template: - src: rc.local.j2 - dest: "/var/lib/lxc/{{ name }}//rootfs/etc/rc.local" - mode: "0755" - -- name: Check if Solr is running - command: "lxc-attach -n {{name}} -- /opt/solr-{{ solr_version }}/bin/solr status" - ignore_errors: yes - changed_when: false - register: service_solr_status - name: "Install Solr {{ solr_version }}" command: "lxc-attach -n {{name}} -- /root/solr-{{ solr_version }}/bin/install_solr_service.sh /root/solr-{{ solr_version }}.tgz"