Add always tags to set_fact tasks

Small correction to `when` clause in `tasks/elasticsearch-plugins.yml`.
This commit is contained in:
Jonathan Strootman 2016-04-26 12:11:13 -07:00
parent aa129e4eb4
commit 87bbff5279
6 changed files with 41 additions and 1 deletions

View file

@ -11,9 +11,13 @@
with_fileglob: "{{ es_templates_fileglob }}"
- set_fact: http_port=9200
tags:
- always
- set_fact: http_port={{es_config['http.port']}}
when: es_config['http.port'] is defined
tags:
- always
- name: Wait for elasticsearch to startup
wait_for: port={{http_port}} delay=10