1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

This commit is contained in:
Matt Martz 2018-01-12 16:16:37 -06:00 committed by GitHub
parent 7bdbe9ab87
commit 86e4619dcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -155,7 +155,7 @@ To encrypt a string read from stdin and name it 'db_password':
.. code-block:: bash .. 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:: Result::