summaryrefslogtreecommitdiffstats
path: root/test/integration/targets
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2024-10-17 21:17:42 +0200
committerGitHub <noreply@github.com>2024-10-17 21:17:42 +0200
commitc6e166319a3f648933d127f02aa2204527e2a3f5 (patch)
tree4b1b417398ac3ca0bafef598474ae0fcbf8bb967 /test/integration/targets
parentFaster host removal from a handler (#84091) (diff)
downloadansible-c6e166319a3f648933d127f02aa2204527e2a3f5.tar.xz
ansible-c6e166319a3f648933d127f02aa2204527e2a3f5.zip
test: use password to generate random string instead of range (#84129)
* Use password lookup instead of range Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
Diffstat (limited to 'test/integration/targets')
-rw-r--r--test/integration/targets/git/tasks/archive.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/targets/git/tasks/archive.yml b/test/integration/targets/git/tasks/archive.yml
index 588148d570..f749de6979 100644
--- a/test/integration/targets/git/tasks/archive.yml
+++ b/test/integration/targets/git/tasks/archive.yml
@@ -84,7 +84,7 @@
- name: ARCHIVE | Generate an archive prefix
set_fact:
- git_archive_prefix: '{{ range(2 ** 31, 2 ** 32) | random }}' # Generate some random archive prefix
+ git_archive_prefix: "{{ lookup('ansible.builtin.password', '/dev/null', length=10, chars=['digits']) }}" # Generate some random archive prefix
- name: ARCHIVE | Archive repo using various archival format and with an archive prefix
git: