mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update main.yml
This commit is contained in:
parent
4d02ca21dd
commit
11682c3f7d
1 changed files with 6 additions and 10 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue