feat: passwords will be randomly generated

This commit is contained in:
xpk
2019-02-20 17:34:24 +08:00
parent bd6547324d
commit 83e9f4dc5d
2 changed files with 7 additions and 1 deletions
+2
View File
@@ -0,0 +1,2 @@
plain_pass: "{{ lookup('password', '/dev/null chars=ascii_letters,digits,hexdigits length=15') }}"
hashed_pass: "{{ plain_pass | password_hash('sha512') }}"