1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/network/tasks/down-debian.yml

26 lines
573 B
YAML
Raw Normal View History

2017-11-23 02:26:23 +00:00
# down-debian.yml
#- name: Supply resolvconf.conf
# template:
# dest: /etc/resolvconf.conf
# src: network/resolvconf.j2
2018-07-17 05:49:14 +00:00
- name: BIND may be affected
2020-02-17 18:08:41 +00:00
systemd:
2017-11-23 02:26:23 +00:00
name: "{{ dns_service }}"
state: stopped
when: named_install and dnsmasq_enabled
# dhcpd_server release the interface
- name: dhcpd_server may be affected - stopping dhcpd
2020-02-17 18:08:41 +00:00
systemd:
2017-11-23 02:26:23 +00:00
name: dhcpd
state: stopped
when: dhcpd_install
2017-11-23 02:26:23 +00:00
- name: dhcpd_server may be affected - stopping dnsmasq
2020-02-17 18:08:41 +00:00
systemd:
2017-11-23 02:26:23 +00:00
name: dnsmasq
state: stopped
2020-02-17 18:08:41 +00:00
when: dnsmasq_install and not no_net_restart