ansible / ansible.builtin / v2.16.0 / filter / password_hash convert input password into password_hash | "added in version" historical of ansible.builtin" Authors: unknownansible.builtin.password_hash (v2.16.0) — filter
pip
Install with pip install ansible-core==2.16.0
Returns a password_hash of a secret.
salt: description: Secret string that is used for the hashing, if none is provided a random one can be generated. type: int ident: description: Algorithm identifier. type: string _input: description: Secret to hash. required: true type: string rounds: description: Number of encryption rounds, default varies by algorithm used. type: int hashtype: choices: - md5 - blowfish - sha256 - sha512 default: sha512 description: Hashing algorithm to use. type: string
_value: description: The resulting password hash. type: string