Commit caa6fca9 authored by Daniel Berman's avatar Daniel Berman Committed by GitHub
Browse files

Create main.yml

parent 6ecd2714
# Installing Elasticsearch
# Add apt-key
- name: Add apt-key
url: ""
state: present
# Add the Elasticsearch APT-repository
- name: Adding Elasticsearch APT repository
repo: deb stable main
state: present
# Install Elasticsearch
- name: Update repos cache, install Elasticsearch
name: elasticsearch
update_cache: yes
# Update Elasticsearch config file to allow remote connections
- name: Updating config file to allow outside access
destfile: /etc/elasticsearch/elasticsearch.yml
regexp: ''
line: ''
# Start Elasticsearch
- name: Starting Elasticsearch
name: elasticsearch
state: started
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment