Opensearch want to write inside the config directory

This commit is contained in:
Andrea Dell'Amico 2022-05-09 19:37:40 +02:00
parent 4ee85cc286
commit 19c5dd7f47
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 8 additions and 0 deletions

View File

@ -48,6 +48,14 @@
mode: 'u+rX,g+rX,o+rX'
when: opensearch_download is changed
- name: Opensearch want to write inside the config directory
file:
dest: '{{ opensearch_config_dir }}'
state: directory
owner: '{{ opensearch_user }}'
group: '{{ opensearch_user }}'
mode: 0755
- name: Create a link to the correct place
file:
src: '/opt/{{ opensearch_versioned }}'