1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #1334 from holta/captive-portal-tweak

captive-portal tweak (code maintainability, not functional changes)
This commit is contained in:
A Holt 2018-12-12 13:10:35 -05:00 committed by GitHub
commit 50d8dd0fc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 10 deletions

View file

@ -6,20 +6,16 @@
- python-dateutil
- sqlite3 # @georgehunt hopes to move this to 2-common (or more like stage 3-base-server, alongside MySQL) in October 2018
- name: Install wsgi (debuntu)
- name: Install libapache2-mod-wsgi (debuntu)
package:
name: "{{ item }}"
name: libapache2-mod-wsgi
state: present
with_items:
- libapache2-mod-wsgi
when: is_debuntu
- name: Install wsgi (not debuntu)
- name: Install mod_wsgi (not debuntu)
package:
name: "{{ item }}"
name: mod_wsgi
state: present
with_items:
- mod_wsgi
when: not is_debuntu
- name: Create directory /opt/iiab/captive-portal for scripts & templates
@ -125,8 +121,8 @@
- name: Restart apache2
systemd:
name: apache2
state: restarted
name: apache2
state: restarted
- name: Restart dnsmasq
systemd: