Move all shared into this new repo
This commit is contained in:
16
db/elasticsearch-5.x/tasks/main.yml
Normal file
16
db/elasticsearch-5.x/tasks/main.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
# Add Elasticsearch GPG Key
|
||||
- name: Addding Elasticsearch sources GPG key
|
||||
apt_key: url='https://artifacts.elastic.co/GPG-KEY-elasticsearch' state=present
|
||||
|
||||
# Add Elasticsearch repositories for Debian 8
|
||||
- name: Adding Elasticsearch sources
|
||||
apt_repository: repo='deb https://artifacts.elastic.co/packages/5.x/apt stable main' state=present
|
||||
|
||||
# Install Elasticsearch
|
||||
- name: Installing Elasticsearch
|
||||
apt:
|
||||
update_cache: yes
|
||||
state: present
|
||||
name:
|
||||
- elasticsearch
|
||||
Reference in New Issue
Block a user