1
0
Fork 0
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:
A Holt 2019-01-08 23:05:06 -05:00 committed by GitHub
commit ca9a23ee12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,8 +124,23 @@
name: apache2
state: restarted
- name: Restart dnsmasq
systemd:
#- name: Restart dnsmasq
# 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
state: restarted
state: stopped
when: dnsmasq_enabled
- name: Start dnsmasq
systemd:
name: dnsmasq
state: started
when: dnsmasq_enabled