Skip to content

Commit f3bb8ce

Browse files
Disable security in the CI/CD
1 parent 5d17496 commit f3bb8ce

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

molecule/default/converge.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
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:

molecule/default/verify.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,10 @@
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"

0 commit comments

Comments
 (0)