Remove the demodb database.

This commit is contained in:
Andrea Dell'Amico 2022-05-26 14:47:54 +02:00
parent 4f45d378f7
commit 5f3a1f7374
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 10 additions and 2 deletions

View File

@ -20,13 +20,21 @@
- '{{ orientdb_pid_dir }}'
- '{{ orientdb_automatic_backup_directory }}'
- name: Remove the demodb database
file:
dest: {{ orientdb_home_prefix }}/{{ orientdb_user }}/{{ orientdb_dir }}-{{ orientdb_version }}/databases/demodb
state: absent
- name: Link to the latest version
become: True
become_user: '{{ orientdb_user }}'
file: src={{ orientdb_tar_filename }} dest={{ orientdb_install_dir }} state=link
file:
src: '{{ orientdb_tar_filename }}'
dest: '{{ orientdb_install_dir }}'
state: link
- name: Create a link to the data directory
ansible.builtin.file:
file:
src: '{{ orientdb_data_dir }}'
dest: '{{ orientdb_home_prefix }}/{{ orientdb_user }}/{{ orientdb_dir }}-{{ orientdb_version }}/databases'
state: link