From 8002a4f6cf2db1c63670dad227d805f3d145e708 Mon Sep 17 00:00:00 2001 From: Thomas Widhalm Date: Wed, 6 Nov 2024 16:37:52 +0100 Subject: [PATCH] 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. --- molecule/elasticsearch_test_modules/converge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/molecule/elasticsearch_test_modules/converge.yml b/molecule/elasticsearch_test_modules/converge.yml index 9cfd8cd6..77ffdd66 100644 --- a/molecule/elasticsearch_test_modules/converge.yml +++ b/molecule/elasticsearch_test_modules/converge.yml @@ -50,7 +50,7 @@ netways.elasticstack.elasticsearch_user: name: new-user1 fullname: New User - password: changeMe123! + password: "{{ lookup('community.general.random_string', length=12, min_lower=1, min_upper=1, min_numeric=1, min_special=1, override_special='-_=!') }}" email: new@user.de roles: - new-role1