Commit c4d41219 authored by kaali09's avatar kaali09
Browse files

DO-2059 updated the syntax error

parent 48299e28
No related merge requests found
Showing with 12 additions and 11 deletions
+12 -11
......@@ -29,6 +29,18 @@
include: elasticsearch-Debian-version-lock.yml
when: es_version_lock
#Copy the elasticsearch mandatory variable
- name: Copy the elasticsearch mandatory variables
become: yes
template:
src: environment.j2
dest: "{{ env_dir }}/elasticsearch"
owner: "{{ es_user }}"
group: "{{ es_group }}"
mode: 0660
force: yes
- name: Debian - Ensure elasticsearch is installed
become: yes
apt: name=elasticsearch{% if es_version is defined and es_version != "" %}={{ es_version }}{% endif %} state=present force={{force_install}} allow_unauthenticated={{ 'no' if es_apt_key else 'yes' }} cache_valid_time=86400
......
......@@ -15,17 +15,6 @@
file: path={{ item }} state=directory owner={{ es_user }} group={{ es_group }}
with_items:
- "{{data_dirs}}"
#Copy the elasticsearch mandatory variable
- name: Copy the elasticsearch mandatory variables
become: yes
template:
src: environment.j2
dest: "{{ env_dir }}/elasticsearch"
owner: "{{ e_user }}"
group: "{{ es_group }}"
mode: 0660
force: yes
#Copy the config template
- name: Copy Configuration File
......
Supports Markdown
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