mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
use print function (#34013)
This commit is contained in:
parent
a73af903b8
commit
378636078a
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ Once the library is ready, SHA512 password values can then be generated as follo
|
|||
|
||||
.. code-block:: shell-session
|
||||
|
||||
python -c "from passlib.hash import sha512_crypt; import getpass; print sha512_crypt.using(rounds=5000).hash(getpass.getpass())"
|
||||
python -c "from passlib.hash import sha512_crypt; import getpass; print(sha512_crypt.using(rounds=5000).hash(getpass.getpass()))"
|
||||
|
||||
Use the integrated :ref:`hash_filters` to generate a hashed version of a password.
|
||||
You shouldn't put plaintext passwords in your playbook or host_vars; instead, use :doc:`playbooks_vault` to encrypt sensitive data.
|
||||
|
|
Loading…
Reference in a new issue