Add always tags to set_fact tasks
Small correction to `when` clause in `tasks/elasticsearch-plugins.yml`.
This commit is contained in:
parent
aa129e4eb4
commit
87bbff5279
6 changed files with 41 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue