Update echo ansible-vault example with -n as without this, you get a newline. Fixes #34795 (#34823)

pull/29158/merge
Matt Martz 7 years ago committed by GitHub
parent 7bdbe9ab87
commit 86e4619dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -155,7 +155,7 @@ To encrypt a string read from stdin and name it 'db_password':
.. code-block:: bash
echo 'letmein' | ansible-vault encrypt_string --vault-id dev@password --stdin-name 'db_password'
echo -n 'letmein' | ansible-vault encrypt_string --vault-id dev@password --stdin-name 'db_password'
Result::

Loading…
Cancel
Save