Ver Fonte

[elasticsearch] Start it when first run

Colin Powell há 3 anos atrás
pai
commit
3c2ee687bd
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      ansible/roles/elasticsearch/tasks/main.yml

+ 3 - 0
ansible/roles/elasticsearch/tasks/main.yml

@@ -14,3 +14,6 @@
     owner: root
     mode: 0644
   notify: Elasticsearch restarted
+
+- name: Elasticsearch started
+  service: name=elasticsearch state=started