From d49c4fa176f3f4d864db3d456cd956c725c3b3fa Mon Sep 17 00:00:00 2001 From: Thomas Widhalm Date: Tue, 3 Dec 2024 09:59:10 +0100 Subject: [PATCH] replace random password with `password` lookup --- molecule/elasticstack_default/converge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/molecule/elasticstack_default/converge.yml b/molecule/elasticstack_default/converge.yml index 7af41312..62ae19b6 100644 --- a/molecule/elasticstack_default/converge.yml +++ b/molecule/elasticstack_default/converge.yml @@ -18,7 +18,7 @@ elasticstack_full_stack: true elasticstack_no_log: false logstash_pipeline_unsafe_shutdown: true - logstash_redis_password: "{{ lookup('community.general.random_string', length=12, min_lower=1, min_upper=1, min_numeric=1, min_special=1, override_special='-_=!') }}" + logstash_redis_password: "{{ lookup('ansible.builtin.password', '/var/lib/redispassword', chars=['ascii_letters'], length=15 }}' redis_requirepass: "{{ logstash_redis_password }}" beats_filebeat_syslog_udp: true beats_filebeat_syslog_tcp: true