Follow-up : avoid shell command passwd, only ansible.builtin.user module
The following discussion from !22 (merged) should be addressed:
-
@ulvida started a discussion: (+1 comment) user module now documents a way to delete password:
To create an account with a locked/disabled password on Linux systems, set this to '!' or '*'.
Also, for next command,
passwd -e
we could have usedexpire
parameter.