From 38db7ed0a9b499d05b561752fb66af6734e66f56 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Thu, 6 Sep 2018 11:14:54 +0200 Subject: [PATCH] Fixed playbooks to use orientdb version 2.2.36 --- orientdb/defaults/main.yml | 7 ++++--- orientdb/tasks/main.yml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/orientdb/defaults/main.yml b/orientdb/defaults/main.yml index 134e90bb..67553147 100644 --- a/orientdb/defaults/main.yml +++ b/orientdb/defaults/main.yml @@ -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 diff --git a/orientdb/tasks/main.yml b/orientdb/tasks/main.yml index 58800d3a..9396b3f2 100644 --- a/orientdb/tasks/main.yml +++ b/orientdb/tasks/main.yml @@ -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