Yohohohohohooho | Sanrei Aya
Sanrei Aya


Server : LiteSpeed
System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : elvh3918 ( 1528)
PHP Version : 8.2.31
Disable Function : mail
Directory :  /lib/python3.9/site-packages/ansible/plugins/filter/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3.9/site-packages/ansible/plugins/filter/password_hash.yml
DOCUMENTATION:
  name: password_hash
  version_added: "historical"
  short_description: convert input password into password_hash
  description:
    - Returns a password_hash of a secret.
  positional: _input
  notes:
    - Algorithms available might be restricted by the system.
  options:
    _input:
      description: Secret to hash.
      type: string
      required: true
    hashtype:
      description: Hashing algorithm to use.
      type: string
      default: sha512
      choices: [ md5, blowfish, sha256, sha512 ]
    salt:
      description: Secret string that is used for the hashing, if none is provided a random one can be generated.
      type: int
    rounds:
      description: Number of encryption rounds, default varies by algorithm used.
      type: int
    ident:
      description: Algorithm identifier.
      type: string

EXAMPLES: |
    # pwdhash => "$6$/bQCntzQ7VrgVcFa$VaMkmevkY1dqrx8neaenUDlVU.6L/.ojRbrnI4ID.yBHU6XON1cB422scCiXfUL5wRucMdLgJU0Fn38uoeBni/"
    pwdhash: "{{ 'testing' | password_hash }}"

RETURN:
  _value:
    description: The resulting password hash.
    type: string

Yohohohohohooho | Sanrei Aya