Ansible install: no service or tool found for: node1_elasticsearch

(Lil Meyer) #1

I followed the instructions here. I use debian version 8 with docker for testing.
All steps are green but the last :

TASK [elasticsearch : Start elasticsearch service] *****************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "no service or tool found for: node1_elasticsearch"}

/etc/init.d/elasticsearch is not present on the machine and that's the reason why it failed. I probably missed something.

If I hit:

dpkg-query -L elasticsearch | grep init.d

it returns me :


(system) #2