Make sure generated password do not start with dashes.

This commit is contained in:
Andreas B. Mundt 2020-02-29 20:28:57 +01:00
parent a6feab0e38
commit 4d70971359
4 changed files with 8 additions and 8 deletions

View file

@ -1,4 +1,4 @@
borg_pwd: "{{ lookup('password', '/tmp/borg.pwd length=32') }}"
borg_pwd: "{{ lookup('password', '/tmp/borg.pwd chars=ascii_letters,digits length=32') }}"
borg_pwd_file: "/root/borg.pwd"
borg_key_backup: "/root/borg-key.backup"