From 378636078ad0adae3bc1cb6e39e7a9fb508d40c0 Mon Sep 17 00:00:00 2001 From: aaron jheng Date: Tue, 19 Dec 2017 23:31:30 +0800 Subject: [PATCH] use print function (#34013) --- docs/docsite/rst/faq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/faq.rst b/docs/docsite/rst/faq.rst index 3a7d01fb428..f19b776920b 100644 --- a/docs/docsite/rst/faq.rst +++ b/docs/docsite/rst/faq.rst @@ -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.