mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +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
|
state: absent
|
||||||
when: not captiveportal_enabled
|
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)
|
- name: Delete /etc/dnsmasq.d/capture to make sure dnsmasq is not diverting (if not captiveportal_enabled)
|
||||||
file:
|
file:
|
||||||
path: /etc/dnsmasq.d/capture
|
path: /etc/dnsmasq.d/capture
|
||||||
|
|
|
@ -44,9 +44,6 @@
|
||||||
- simple.template
|
- simple.template
|
||||||
- mac.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)
|
- 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
|
command: /usr/sbin/iiab-make-cp-servers.py
|
||||||
args:
|
args:
|
||||||
|
|
Loading…
Reference in a new issue