Your 'ascii letters' should be 'ascii_letters' (with an underscore); maybe that's throwing things off?

On 10/2/23 8:26 AM, Kathy L 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?

--
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/7cf2a612-589c-02d0-bd5d-7e379c0e7943%40gmail.com.

Reply via email to