mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Clean captiveportal/tasks/main.yml
This commit is contained in:
parent
4465ea734a
commit
a9f7bc3924
1 changed files with 5 additions and 5 deletions
|
@ -51,14 +51,14 @@
|
|||
#src: roles/captiveportal/templates/uwsgi-captiveportal.service
|
||||
dest: /etc/systemd/system/
|
||||
|
||||
- name: Start or restart server which responds to browsers trying to detect a captive portal
|
||||
- name: Restart & Enable 'uwsgi-captiveportal' systemd service (uWSGI server) that responds to browsers trying to detect a Captive Portal
|
||||
systemd:
|
||||
name: uwsgi-captiveportal.service
|
||||
state: restarted
|
||||
enabled: True
|
||||
when: captiveportal_enabled | bool
|
||||
|
||||
- name: Stop uWSGI server if Captive Portal has been disabled
|
||||
- name: Stop & Disable 'uwsgi-captiveportal' systemd service (uWSGI server) if Captive Portal has been disabled
|
||||
systemd:
|
||||
name: uwsgi-captiveportal.service
|
||||
state: stopped
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue