ansible-create-users
ansible-create-users copied to clipboard
Not taking STDIN
I might be a complete idiot, but the script works fine, apart that i cannot input a list through stdin like the documentation states.
root@ansible:/etc/ansible/playbooks/ansible-create-users# python generate_user_passwords.py < users.txt
You must at least give one username
Usage: generate_user_passwords.py [-l
users.txt contains:
whatnot constantin trudie esthelle
Any clue about what i'm doing wrong?
Thanks in advance
get_user_from_stdin function is no longer called. Line 58 is commented.