1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

move calling iiab-divert-to-nginx

This commit is contained in:
Jerry Vonau 2020-02-26 11:47:44 -06:00
parent df47eab103
commit ee3d745e72
2 changed files with 4 additions and 3 deletions

View file

@ -36,6 +36,10 @@
state: absent
when: not captiveportal_enabled
- name: Run iiab-divert-to-nginx to generate diversion lists for NGINX
shell: /usr/sbin/iiab-divert-to-nginx
when: captiveportal_enabled | bool
- name: Delete /etc/dnsmasq.d/capture to make sure dnsmasq is not diverting (if not captiveportal_enabled)
file:
path: /etc/dnsmasq.d/capture

View file

@ -44,9 +44,6 @@
- simple.template
- mac.template
- name: Run iiab-divert-to-nginx to generate diversion lists for NGINX
shell: /usr/sbin/iiab-divert-to-nginx
- name: Run iiab-make-cp-servers.py to generate NGINX servers from /opt/iiab/captiveportal/checkurls input list (creates /etc/nginx/sites-available/capture.conf)
command: /usr/sbin/iiab-make-cp-servers.py
args: