Skip to content

Commit 8002a4f

Browse files
authored
Replace generic password with random one in Molecule (#352)
I know, this password is only used in Molecule. But maybe this can be that start to replace all the generic passwords we have with more secure, random ones. After all, @pdolinic suggested that in the past already.
1 parent 3c7a91b commit 8002a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

molecule/elasticsearch_test_modules/converge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
netways.elasticstack.elasticsearch_user:
5151
name: new-user1
5252
fullname: New User
53-
password: changeMe123!
53+
password: "{{ lookup('community.general.random_string', length=12, min_lower=1, min_upper=1, min_numeric=1, min_special=1, override_special='-_=!') }}"
5454
5555
roles:
5656
- new-role1

0 commit comments

Comments
 (0)