mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +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
|
||||
|
||||
- name: BIND may be affected
|
||||
service:
|
||||
systemd:
|
||||
name: "{{ dns_service }}"
|
||||
state: stopped
|
||||
when: named_install and dnsmasq_enabled
|
||||
|
||||
# dhcpd_server release the interface
|
||||
- name: dhcpd_server may be affected - stopping dhcpd
|
||||
service:
|
||||
systemd:
|
||||
name: dhcpd
|
||||
state: stopped
|
||||
when: dhcpd_install | bool
|
||||
|
||||
- name: dhcpd_server may be affected - stopping dnsmasq
|
||||
service:
|
||||
systemd:
|
||||
name: dnsmasq
|
||||
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