mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 20:22:08 +00:00
Update network/tasks/down-debian.yml
This commit is contained in:
parent
13da8238f9
commit
e5f2a251e2
1 changed files with 4 additions and 4 deletions
|
@ -6,20 +6,20 @@
|
||||||
# src: network/resolvconf.j2
|
# src: network/resolvconf.j2
|
||||||
|
|
||||||
- name: BIND may be affected
|
- name: BIND may be affected
|
||||||
service:
|
systemd:
|
||||||
name: "{{ dns_service }}"
|
name: "{{ dns_service }}"
|
||||||
state: stopped
|
state: stopped
|
||||||
when: named_install and dnsmasq_enabled
|
when: named_install and dnsmasq_enabled
|
||||||
|
|
||||||
# dhcpd_server release the interface
|
# dhcpd_server release the interface
|
||||||
- name: dhcpd_server may be affected - stopping dhcpd
|
- name: dhcpd_server may be affected - stopping dhcpd
|
||||||
service:
|
systemd:
|
||||||
name: dhcpd
|
name: dhcpd
|
||||||
state: stopped
|
state: stopped
|
||||||
when: dhcpd_install | bool
|
when: dhcpd_install | bool
|
||||||
|
|
||||||
- name: dhcpd_server may be affected - stopping dnsmasq
|
- name: dhcpd_server may be affected - stopping dnsmasq
|
||||||
service:
|
systemd:
|
||||||
name: dnsmasq
|
name: dnsmasq
|
||||||
state: stopped
|
state: stopped
|
||||||
when: dnsmasq_install | bool and not no_net_restart
|
when: dnsmasq_install and not no_net_restart
|
||||||
|
|
Loading…
Reference in a new issue