On Mon, 2 Oct 2023 at 14:26, Kathy L <[email protected]> wrote:

> I am using ansible core version 2.14.3.  When I generate a username in the
> following fashion:
>
>    set_fact:
>      passwd: "{{ lookup('ansible.builtin.password', '/dev/null',
> chars=['ascii letters', 'digits'], length=range(10,15) | random ) }}"
>
> I get usernames with colons in the middle of the password.  This has
> worked for over 6 months and we are just now seeing this error.  Can anyone
> see what I am doing wrong?
>


No, but things don't just change by themselves. If your invocation/task has
not changed, the question becomes: what else has changed?

Something different, you specify 'ascii letters', but when i try that, it
yields passwords with spaces in them. You might want to use 'ascii_letters'.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAF8BbLZYHUDiiHS7cVQ0d%2BBGG-%2Bo7RWrOvhY7XDnTXp9WsEsnQ%40mail.gmail.com.

Reply via email to