Commit 568a8ab3 by e0d

updating when syntax.

parent a016edca
......@@ -5,14 +5,14 @@
- name: download elasticsearch
get_url: url={{ elastic_search_url }} dest=/var/tmp/{{ elastic_search_file }}
when_failed: $es_present
when: es_present|failed
tags:
- elasticsearch
- install
- name: install elasticsearch from local package
shell: executable=/bin/bash dpkg -i /var/tmp/elasticsearch-${elastic_search_version}.deb
when_failed: $es_present
when: es_present:failed
tags:
- elasticsearch
- install
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