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:
parent
df47eab103
commit
ee3d745e72
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue