Created
May 30, 2017 10:45
-
-
Save alces/a8baae143f09a22fc2467b6db34536cf to your computer and use it in GitHub Desktop.
Genereta an idempotent, pretty obscure string (can be used as a database password, etc.)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- connection: local | |
hosts: localhost | |
tasks: | |
- debug: | |
msg: "{{ ('secretword' | password_hash('sha256', 'salt_string')).split('$')[-1][:16] }}" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment