Define plugin list

This commit is contained in:
phil 2023-07-04 22:20:14 +02:00
parent 8f30abee4f
commit 982522ca8e
3 changed files with 18 additions and 11 deletions

View file

@ -14,11 +14,12 @@
- name: "Opensearch | Install plugins"
ansible.builtin.command:
cmd: ./opensearch-plugin install ingest-attachment --batch
cmd: "./opensearch-plugin install {{ item }} --batch"
chdir: /usr/share/opensearch/bin/
creates: /usr/share/opensearch/plugins/ingest-attachment
creates: "/usr/share/opensearch/plugins/{{ item }}"
become: true
become_user: opensearch
loop: "{{ opensearch_plugins }}"
- name: "Opensearch | Copy opensearch configuration"
ansible.builtin.template: