mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
commit
496b6c6da8
6 changed files with 15 additions and 19 deletions
|
@ -4,22 +4,18 @@
|
||||||
state: present
|
state: present
|
||||||
with_items:
|
with_items:
|
||||||
- python-dateutil
|
- python-dateutil
|
||||||
- sqlite3 # @georgehunt hopes to move this to 2-common (or more like stage 3-base-server, alongside MySQL) in October 2018
|
- sqlite3 # @georgejhunt hopes to move this to 2-common (or more likely 3-base-server, alongside MySQL) in October 2018
|
||||||
|
|
||||||
- name: Install wsgi (debuntu)
|
- name: Install libapache2-mod-wsgi (debuntu)
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: libapache2-mod-wsgi
|
||||||
state: present
|
state: present
|
||||||
with_items:
|
|
||||||
- libapache2-mod-wsgi
|
|
||||||
when: is_debuntu
|
when: is_debuntu
|
||||||
|
|
||||||
- name: Install wsgi (not debuntu)
|
- name: Install mod_wsgi (not debuntu)
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: mod_wsgi
|
||||||
state: present
|
state: present
|
||||||
with_items:
|
|
||||||
- mod_wsgi
|
|
||||||
when: not is_debuntu
|
when: not is_debuntu
|
||||||
|
|
||||||
- name: Create directory /opt/iiab/captive-portal for scripts & templates
|
- name: Create directory /opt/iiab/captive-portal for scripts & templates
|
||||||
|
@ -125,8 +121,8 @@
|
||||||
|
|
||||||
- name: Restart apache2
|
- name: Restart apache2
|
||||||
systemd:
|
systemd:
|
||||||
name: apache2
|
name: apache2
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
- name: Restart dnsmasq
|
- name: Restart dnsmasq
|
||||||
systemd:
|
systemd:
|
||||||
|
|
|
@ -116,11 +116,11 @@ dns_jail_enabled: False
|
||||||
|
|
||||||
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
|
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
|
||||||
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
|
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
|
||||||
# extensively refined in Sept 2018 (https://github.com/iiab/iiab/pull/1179)
|
# extensively refined later in 2018 (PRs #1179, #1300, #1327).
|
||||||
captive_portal_install: True
|
captive_portal_install: True
|
||||||
captive_portal_enabled: True
|
captive_portal_enabled: True
|
||||||
captive_portal_port: 9090
|
captive_portal_port: 9090
|
||||||
# In a pinch, disable it by running: systemctl disable captive-portal
|
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
|
||||||
|
|
||||||
# Set to "False" if you want to revert to the older Dynamic Menuing system
|
# Set to "False" if you want to revert to the older Dynamic Menuing system
|
||||||
# (prior to IIAB 6.7, this had used https://github.com/iiab/iiab-menu)
|
# (prior to IIAB 6.7, this had used https://github.com/iiab/iiab-menu)
|
||||||
|
|
|
@ -57,10 +57,10 @@ dns_jail_enabled: False
|
||||||
|
|
||||||
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
|
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
|
||||||
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
|
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
|
||||||
# extensively refined in Sept 2018 (https://github.com/iiab/iiab/pull/1179)
|
# extensively refined later in 2018 (PRs #1179, #1300, #1327).
|
||||||
captive_portal_install: True
|
captive_portal_install: True
|
||||||
captive_portal_enabled: True
|
captive_portal_enabled: True
|
||||||
# In a pinch, disable it by running: systemctl disable captive-portal
|
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
|
||||||
|
|
||||||
# Set to "False" if you want to revert to the older Dynamic Menuing system
|
# Set to "False" if you want to revert to the older Dynamic Menuing system
|
||||||
# (prior to IIAB 6.7, this had used https://github.com/iiab/iiab-menu)
|
# (prior to IIAB 6.7, this had used https://github.com/iiab/iiab-menu)
|
||||||
|
|
|
@ -57,10 +57,10 @@ dns_jail_enabled: False
|
||||||
|
|
||||||
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
|
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
|
||||||
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
|
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
|
||||||
# extensively refined in Sept 2018 (https://github.com/iiab/iiab/pull/1179)
|
# extensively refined later in 2018 (PRs #1179, #1300, #1327).
|
||||||
captive_portal_install: True
|
captive_portal_install: True
|
||||||
captive_portal_enabled: True
|
captive_portal_enabled: True
|
||||||
# In a pinch, disable it by running: systemctl disable captive-portal
|
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
|
||||||
|
|
||||||
# Set to "False" if you want to revert to the older Dynamic Menuing system
|
# Set to "False" if you want to revert to the older Dynamic Menuing system
|
||||||
# (prior to IIAB 6.7, this had used https://github.com/iiab/iiab-menu)
|
# (prior to IIAB 6.7, this had used https://github.com/iiab/iiab-menu)
|
||||||
|
|
|
@ -57,10 +57,10 @@ dns_jail_enabled: False
|
||||||
|
|
||||||
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
|
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
|
||||||
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
|
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
|
||||||
# extensively refined in Sept 2018 (https://github.com/iiab/iiab/pull/1179)
|
# extensively refined later in 2018 (PRs #1179, #1300, #1327).
|
||||||
captive_portal_install: True
|
captive_portal_install: True
|
||||||
captive_portal_enabled: True
|
captive_portal_enabled: True
|
||||||
# In a pinch, disable it by running: systemctl disable captive-portal
|
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
|
||||||
|
|
||||||
# Set to "False" if you want to revert to the older Dynamic Menuing system
|
# Set to "False" if you want to revert to the older Dynamic Menuing system
|
||||||
# (prior to IIAB 6.7, this had used https://github.com/iiab/iiab-menu)
|
# (prior to IIAB 6.7, this had used https://github.com/iiab/iiab-menu)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue