1
0
Fork 0
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:
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 # 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