File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1+ - name : reload resolvconf
2+ when : not in_docker
3+ systemd :
4+ name : resolvconf
5+ state : reloaded
6+
7+ - name : reload unbound
8+ when : not in_docker
9+ systemd :
10+ name : unbound
11+ state : reloaded
Original file line number Diff line number Diff line change 77 - resolvconf
88
99- name : Setup localhost as the default nameserver
10+ notify : reload resolvconf
1011 lineinfile :
1112 path : /etc/resolvconf/resolv.conf.d/base
1213 create : true
1920 line : " domain hashbang.sh"
2021
2122- name : Configure unbound
23+ notify : reload unbound
2224 copy :
2325 dest : /etc/unbound/unbound.conf.d/{{ item.key }}.conf
2426 validate : unbound-checkconf %s
6769 # Implementation of draft-dns-0x20, makes DNS poisoning harder
6870 use-caps-for-id: yes
6971
70- - name : Enable & reload services
72+
73+ - name : Enable services
7174 when : not in_docker
7275 systemd :
7376 name : " {{ item }}"
7477 enabled : yes
7578 masked : no
76- state : reloaded # TODO: This should be a handler instead
79+ state : started
7780
7881 with_items :
7982 - unbound
You can’t perform that action at this time.
0 commit comments