aboutsummaryrefslogtreecommitdiffstats
path: root/group_vars/all/vars.yml
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-03-17 14:05:12 +0800
committerAaron LI <aly@aaronly.me>2018-03-17 14:05:12 +0800
commitfc7c935f0cd2dfb3245393afdc56d45ec7030300 (patch)
tree66f858565178ce617897565652b004d925debe94 /group_vars/all/vars.yml
parente4367653d0f5d2a2b94b1f4e68f8dacd25086f76 (diff)
downloadansible-dfly-vps-fc7c935f0cd2dfb3245393afdc56d45ec7030300.tar.bz2
mail/dovecot: store pass in ansible vault and hash from there
Diffstat (limited to 'group_vars/all/vars.yml')
-rw-r--r--group_vars/all/vars.yml28
1 files changed, 20 insertions, 8 deletions
diff --git a/group_vars/all/vars.yml b/group_vars/all/vars.yml
index 6998c98..5c45138 100644
--- a/group_vars/all/vars.yml
+++ b/group_vars/all/vars.yml
@@ -65,22 +65,34 @@ mail:
- hostmaster
- webmaster
- abuse
+ pass: "{{ vault_mail_userdb_root_pass }}"
- name: aly
+ pass: "{{ vault_mail_userdb_aly_pass }}"
# for app/device-specific passwords
devices:
- - laptop
- - office
- - phone
- - tablet
+ - name: laptop
+ pass: "{{ vault_mail_userdb_aly_pass_laptop }}"
+ - name: office
+ pass: "{{ vault_mail_userdb_aly_pass_office }}"
+ - name: phone
+ pass: "{{ vault_mail_userdb_aly_pass_phone }}"
+ - name: tablet
+ pass: "{{ vault_mail_userdb_aly_pass_tablet }}"
- name: lulu
+ pass: "{{ vault_mail_userdb_lulu_pass }}"
- name: wt
aliases:
- weitian
+ pass: "{{ vault_mail_userdb_wt_pass }}"
devices:
- - laptop
- - office
- - phone
- - tablet
+ - name: laptop
+ pass: "{{ vault_mail_userdb_wt_pass_laptop }}"
+ - name: office
+ pass: "{{ vault_mail_userdb_wt_pass_office }}"
+ - name: phone
+ pass: "{{ vault_mail_userdb_wt_pass_phone }}"
+ - name: tablet
+ pass: "{{ vault_mail_userdb_wt_pass_tablet }}"
# Virtual user for local mail delivery (e.g., by Dovecot)
vuser:
name: vmail # user & group name