1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

uwsgi & admin-console.ini moving to iiab-admin-console as wanted in chat

This commit is contained in:
Jerry Vonau 2019-11-21 08:34:37 -06:00
parent 74cec9d24a
commit b99b60c456

View file

@ -6,7 +6,7 @@
- { src: "server.conf",dest: "/etc/nginx/" }
- { src: "nginx.conf",dest: "/etc/nginx/" }
- { src: "usb-lib.conf",dest: "/etc/nginx/conf.d/" }
- { src: "admin-console.ini",dest: "/etc/uwsgi/apps-enabled/" }
# - { src: "admin-console.ini",dest: "/etc/uwsgi/apps-enabled/" }
# the above should be enough once uwsgi is started
# - { src: "uwsgi.unit",dest: "/etc/systemd/system/uwsgi.socket" }
- { src: 'ports.conf' , dest: '/etc/{{ apache_service }}/' , mode: '0644' }
@ -73,9 +73,9 @@
enabled: true
when: nginx_enabled
- name: Enable the uwsgi systemd service
systemd:
name: uwsgi
state: restarted
enabled: true
when: admin_console_enabled and nginx_enabled
#- name: Enable the uwsgi systemd service
# systemd:
# name: uwsgi
# state: restarted
# enabled: true
# when: admin_console_enabled and nginx_enabled