mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #1364 from holta/dnsmasq-hack-for-16.04
dnsmasq hack (in roles/captive-portal/tasks/main.yml) so iiab-install runs on Ubuntu 16.04
This commit is contained in:
commit
ca9a23ee12
1 changed files with 18 additions and 3 deletions
|
@ -124,8 +124,23 @@
|
||||||
name: apache2
|
name: apache2
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
- name: Restart dnsmasq
|
#- name: Restart dnsmasq
|
||||||
systemd:
|
# systemd:
|
||||||
|
# name: dnsmasq
|
||||||
|
# state: restarted
|
||||||
|
# when: dnsmasq_enabled
|
||||||
|
|
||||||
|
# ABOVE DOES NOT WORK ON UBUNTU 16.04 -- what follows is a crude hack (seems to work!)
|
||||||
|
|
||||||
|
- name: Stop dnsmasq
|
||||||
|
systemd:
|
||||||
name: dnsmasq
|
name: dnsmasq
|
||||||
state: restarted
|
state: stopped
|
||||||
when: dnsmasq_enabled
|
when: dnsmasq_enabled
|
||||||
|
|
||||||
|
- name: Start dnsmasq
|
||||||
|
systemd:
|
||||||
|
name: dnsmasq
|
||||||
|
state: started
|
||||||
|
when: dnsmasq_enabled
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue