aboutsummaryrefslogtreecommitdiffstats
path: root/roles/dns
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/dns
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/dns')
-rw-r--r--roles/dns/tasks/main.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/roles/dns/tasks/main.yml b/roles/dns/tasks/main.yml
index 44b3d74..e384929 100644
--- a/roles/dns/tasks/main.yml
+++ b/roles/dns/tasks/main.yml
@@ -1,11 +1,10 @@
---
- name: install unbound and nsd
pkgng:
- name: "{{ item }}"
+ name:
+ - unbound
+ - nsd
state: present
- with_items:
- - unbound
- - nsd
# "root-hints" is the file which contains the listing of primary root
# DNS servers. Unbound does have a listing of root DNS servers in its