Browse Source

common: use password lookup to generate passwords

See https://docs.ansible.com/ansible/playbooks_lookups.html
Allen Riddell 8 years ago
parent
commit
e95caea06c
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      roles/common/defaults/main.yml

+ 4
- 0
roles/common/defaults/main.yml View File

@@ -0,0 +1,4 @@
1
+common_timezone: 'Etc/UTC'
2
+
3
+# encfs
4
+encfs_password: "{{ lookup('password', 'credentials/' + role + '/encfs_password' length=32') }}"

Loading…
Cancel
Save