aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mail
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-09-19 10:09:19 +0800
committerAaron LI <aly@aaronly.me>2019-09-19 10:09:19 +0800
commit428df584a5de76dde72e4cd44d51b565a986378e (patch)
tree50787b0ae51395b7abea7caec54050e6e652d49f /roles/mail
parenta217f32c28999f6798442bc2b721900859dca766 (diff)
downloadansible-dfly-vps-428df584a5de76dde72e4cd44d51b565a986378e.tar.bz2
Update pkgng usage and fix package names
Fix package names: * vim-lite => vim-console * uwsgi-py36 => uwsgi
Diffstat (limited to 'roles/mail')
-rw-r--r--roles/mail/tasks/main.yml11
1 files changed, 5 insertions, 6 deletions
diff --git a/roles/mail/tasks/main.yml b/roles/mail/tasks/main.yml
index 652bb72..3379151 100644
--- a/roles/mail/tasks/main.yml
+++ b/roles/mail/tasks/main.yml
@@ -1,13 +1,12 @@
---
- name: install packages
pkgng:
- name: "{{ item }}"
+ name:
+ - opendkim
+ - postfix
+ - dovecot
+ - dovecot-pigeonhole
state: present
- with_items:
- - opendkim
- - postfix
- - dovecot
- - dovecot-pigeonhole
- name: group - check vmail group
command: pw groupshow {{ mail.vuser.name }}