mirror of https://github.com/ansible/ansible.git
Allow '*' as empty password.
If `password` is defined as `*` `useradd` or `usermod` returns an error: msg: usermod: Invalid password: `*' This works very well on Linux host to not define any password for a user (mainly useful if your setup is only based on SSH keys for auth). On OpenBSD this does not work, so we have to ignore the encrypted password parameter if it defined as `*`.pull/18777/head
parent
b93633d7c2
commit
0fd3ece053
Loading…
Reference in New Issue