forked from ISTI-ansible-roles/ansible-roles
library/roles/orientdb/tasks/main.yml: Use get_url to download the orientdb distribution.
This commit is contained in:
parent
99c4b5f7e3
commit
14ec0b9e99
|
@ -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 }}'
|
||||
|
||||
|
|
Loading…
Reference in New Issue