Create user with option --disabled-password by Ansible
问题 On Ubuntu 14.04 I creating user with disabled password like: sudo adduser --disabled-password myuser I need to do same with Ansible user module --disabled-password Similiar option in Ansible documentation is missing. Could somebody help me, how can I get the same result with user module? 回答1: user module use useradd command under the hood. If you omit password parameter for user module, ansible calls useradd without -p flag. Man page of useradd states: -p, --password PASSWORD The encrypted