Fix the task that links the databases directory.

This commit is contained in:
Andrea Dell'Amico 2022-03-18 14:13:00 +01:00
parent 3ff3a7a09a
commit 72df9ac731
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 2 deletions

View File

@ -26,12 +26,12 @@
file: src={{ orientdb_tar_filename }} dest={{ orientdb_install_dir }} state=link
- name: Create a link to the data directory
become: True
become_user: '{{ orientdb_user }}'
ansible.builtin.file:
src: '{{ orientdb_data_dir }}'
dest: '{{ orientdb_home_prefix }}/{{ orientdb_user }}/{{ orientdb_dir }}-{{ orientdb_version }}/databases'
state: link
owner: '{{ orientdb_user }}'
group: '{{ orientdb_user }}'
force: True
- name: Create a orientdb log directory out of the distribution directory