Store Debian and RedHat installation results in a separate variable

This commit is contained in:
Maarten Bezemer 2016-11-03 16:11:57 +01:00
parent 56837b0627
commit ad3b20872f
5 changed files with 6 additions and 6 deletions

View file

@ -14,8 +14,8 @@
- name: RedHat - Install Elasticsearch
yum: name=elasticsearch{% if es_version is defined and es_version != "" %}-{{ es_version }}{% endif %} state=present update_cache=yes
when: es_use_repository
register: elasticsearch_install_from_repo
until: '"failed" not in elasticsearch_install_from_repo'
register: redhat_elasticsearch_install_from_repo
until: '"failed" not in redhat_elasticsearch_install_from_repo'
retries: 5
delay: 10