diff --git a/orientdb/tasks/main.yml b/orientdb/tasks/main.yml index 0a276ead..1300e098 100644 --- a/orientdb/tasks/main.yml +++ b/orientdb/tasks/main.yml @@ -3,8 +3,11 @@ - name: Create the orientdb user user: name={{ orientdb_user }} home={{ orientdb_base_dir }} createhome=yes shell=/bin/bash + - name: Get the orientdb distribution + get_url: url={{ orientdb_binary_distribution_url }} dest={{ orientdb_base_dir }}/{{ orientdb_tar_file }} + - name: Unpack the orientdb distribution - unarchive: src={{ orientdb_binary_distribution_url }} dest={{ orientdb_base_dir }} copy=no + unarchive: src={{ orientdb_base_dir }}/{{ orientdb_tar_file }} dest={{ orientdb_base_dir }} copy=no args: creates: '{{ orientdb_home_prefix }}/{{ orientdb_user }}/{{ orientdb_dir }}-{{ orientdb_version }}'