1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

use down more

This commit is contained in:
Jerry Vonau 2017-11-22 20:30:10 -06:00
parent e1e9108ac4
commit 095bf1acdc
2 changed files with 5 additions and 19 deletions

View file

@ -1,5 +1,7 @@
# NM-debian.yml
- include_tasks: down-debian.yml
- name: Stopping services
include_tasks: down-debian.yml
# provide keyfile layout like the XO's used way back.
- name: Create uuid for NM
shell: uuidgen

View file

@ -26,24 +26,8 @@
src: network/rpi.j2
when: iiab_lan_iface == "br0"
- name: bind may be affected
service:
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:
name: dhcpd
state: stopped
when: dhcpd_install
- name: dhcpd_server may be affected - stopping dnsmasq
service:
name: dnsmasq
state: stopped
when: dnsmasq_install
- name: Stopping services
include_tasks: down-debian.yml
- name: Reload systemd
shell: systemctl daemon-reload