1
0
Fork 0
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:
A Holt 2020-02-17 13:08:41 -05:00 committed by GitHub
parent 13da8238f9
commit e5f2a251e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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