Fixed playbooks to use orientdb version 2.2.36

This commit is contained in:
Luca Frosini 2018-09-06 11:14:54 +02:00
parent 807443f3b4
commit 38db7ed0a9
2 changed files with 5 additions and 4 deletions

View File

@ -2,10 +2,11 @@
orientdb_install: False
orientdb_enabled: True
orientdb_version: 2.2.36
orientdb_archive_commpression: zip
orientdb_archive_commpression: tar.gz
orientdb_dir: 'orientdb-community'
orientdb_tar_file: '{{ orientdb_dir }}-{{ orientdb_version }}.{{ orientdb_archive_commpression }}'
orientdb_binary_distribution_url: 'https://orientdb.com/download.php?file={{ orientdb_tar_file }}'
orientdb_tar_filename: '{{ orientdb_dir }}-importers-{{ orientdb_version }}'
orientdb_tar_file: '{{ orientdb_tar_filename }}.{{ orientdb_archive_commpression }}'
orientdb_binary_distribution_url: 'https://s3.us-east-2.amazonaws.com/orientdb3/releases/{{ orientdb_version }}/{{ orientdb_tar_file }}'
orientdb_user: orientdb
orientdb_log_dir: /var/log/orientdb
orientdb_log_level: INFO

View File

@ -14,7 +14,7 @@
- name: Link to the latest version
become: True
become_user: '{{ orientdb_user }}'
file: src={{ orientdb_dir }}-{{ orientdb_version }} dest={{ orientdb_install_dir }} state=link
file: src={{ orientdb_tar_filename }} dest={{ orientdb_install_dir }} state=link
- name: Install the orientdb startup script
template: src=orientdb.init.j2 dest=/etc/init.d/orientdb owner=root group=root mode=0755