File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed
Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 88 elasticsearch :
99 transport_security :
1010 ca_from : " {{ inventory_hostname }}"
11- users :
12- builtin :
13- elastic :
14- password : supersecretpassword
11+ elasticsearch.yml :
12+ xpack :
13+ security :
14+ enabled : false
1515 tasks :
1616 - name : " Include ansible-proserver-elasticsearch"
1717 ansible.builtin.include_role :
Original file line number Diff line number Diff line change 22- name : Verify
33 hosts : all
44 gather_facts : false
5- vars :
6- elasticsearch :
7- users :
8- builtin :
9- elastic :
10- password : supersecretpassword
115 tasks :
126 - name : Make sure that the cluster is green
137 ansible.builtin.uri :
148 url : http://localhost:9200/_cluster/health
159 user : elastic
16- password : " {{ elasticsearch.users.builtin.elastic.password }}"
17- force_basic_auth : yes
1810 register : this
1911 failed_when : this is failed or this.json.status != "green"
You can’t perform that action at this time.
0 commit comments