[lint] satisfy ansible-lint

This commit is contained in:
bronsen 2025-03-03 23:54:15 +01:00
parent e98d2fc075
commit a78aeb031e
2 changed files with 37 additions and 30 deletions

View file

@ -23,6 +23,7 @@
url: "https://archive.apache.org/dist/lucene/solr/{{ solr_version }}/solr-{{ solr_version }}.tgz"
dest: "{{ download_dir }}/solr-{{ solr_version }}.tgz"
checksum: "{{ solr_checksum }}"
mode: "644"
- name: Expand Solr archive.
ansible.builtin.unarchive:
@ -32,15 +33,16 @@
creates: "{{ download_dir }}/solr-{{ solr_version }}/README.txt"
- name: Run Solr installation script.
ansible.builtin.command: >
{{ download_dir }}/solr-{{ solr_version }}/bin/install_solr_service.sh
{{ download_dir }}/solr-{{ solr_version }}.tgz
-i /opt
-d /var/solr
-u solr
-s solr
-p 8983
creates={{ solr_dir }}/bin/solr
ansible.builtin.command:
argv:
- "{{ download_dir }}/solr-{{ solr_version }}/bin/install_solr_service.sh"
- "{{ download_dir }}/solr-{{ solr_version }}.tgz"
- -i /opt
- -d /var/solr
- -u solr
- -s solr
- -p 8983
creates: "{{ solr_dir }}/bin/solr"
- name: Ensure Solr is started and enabled on boot.
ansible.builtin.service: