Skip to content

Commit 9404968

Browse files
desnudopenguinobcoca
authored andcommitted
Add OpenBSD password encryption (ansible#40647)
OpenBSD comes with its own encryption utility as well, which must be run on the password text `encrypt <password>`. following the code block above, i just included the base command in the code block. I wasn't quite sure where to add my change, so I put it at the bottom of the section since the rest all flows well together. +label: docsite_pr
1 parent 8666c08 commit 9404968

File tree

1 file changed

+7
-0
lines changed
  • docs/docsite/rst/reference_appendices

1 file changed

+7
-0
lines changed

docs/docsite/rst/reference_appendices/faq.rst

+7
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ The mkpasswd utility that is available on most Linux systems is a great option:
364364
.. code-block:: shell-session
365365
366366
mkpasswd --method=sha-512
367+
367368
368369
If this utility is not installed on your system (e.g. you are using OS X) then you can still easily
369370
generate these passwords using Python. First, ensure that the `Passlib <https://bitbucket.org/ecollins/passlib/wiki/Home>`_
@@ -382,6 +383,12 @@ Once the library is ready, SHA512 password values can then be generated as follo
382383
Use the integrated :ref:`hash_filters` to generate a hashed version of a password.
383384
You shouldn't put plaintext passwords in your playbook or host_vars; instead, use :doc:`../user_guide/playbooks_vault` to encrypt sensitive data.
384385

386+
In OpenBSD, a similar option is available in the base system called encrypt(1):
387+
388+
.. code-block:: shell-session
389+
390+
encrypt
391+
385392
.. _commercial_support:
386393

387394
Ansible supports dot notation and array notation for variables. Which notation should I use?

0 commit comments

Comments
 (0)