Skip to content

Commit

Permalink
verify cluster status (#8)
Browse files Browse the repository at this point in the history
Signed-off-by: saravanan palanisamy <[email protected]>
  • Loading branch information
saravanan30erd authored Oct 26, 2021
1 parent f221636 commit f2750ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion roles/centos7/dashboards/tasks/etchosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
blockinfile:
dest: /etc/hosts
block: |-
{% for item in groups['os-cluster'] %}
{% for item in groups['dashboards'] %}
{{ hostvars[item]['ip'] }} {{ item }}.{{ domain_name }} {{ item }}
{% endfor %}
state: present
Expand Down
1 change: 1 addition & 0 deletions roles/centos7/opensearch/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@
- name: Show the opensearch status
debug:
msg: "{{ os_status.stdout }}"
failed_when: "'number_of_nodes' not in os_status.stdout"

0 comments on commit f2750ef

Please sign in to comment.