Move opendistro install to task specific OS
This commit is contained in:
parent
34f06a85ab
commit
e2ce83af3d
@ -39,5 +39,12 @@
|
||||
- wget
|
||||
- unzip
|
||||
|
||||
- name: Install OpenDistro
|
||||
package:
|
||||
name: opendistroforelasticsearch-{{ opendistro_version }}
|
||||
state: present
|
||||
register: install
|
||||
tags: install
|
||||
|
||||
tags:
|
||||
- install
|
||||
|
||||
@ -8,12 +8,8 @@
|
||||
- import_tasks: RedHat.yml
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- name: Install OpenDistro
|
||||
package:
|
||||
name: opendistroforelasticsearch-{{ opendistro_version }}
|
||||
state: present
|
||||
register: install
|
||||
tags: install
|
||||
- import_tasks: Debian.yml
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: Remove elasticsearch configuration file
|
||||
file:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user