Browse Source

Fixup isso.cfg, add requests pkg, reload gunicorn

master
Felix 8 months ago
parent
commit
022fed7e19
  1. BIN
      files/isso-0.12.3.tar.gz
  2. 7
      handlers/main.yml
  3. 3
      tasks/python.yml
  4. 2
      templates/isso.cfg.j2

BIN
files/isso-0.12.3.tar.gz

Binary file not shown.

7
handlers/main.yml

@ -0,0 +1,7 @@
---
- name: reload gunicorn
systemd:
name: gunicorn-isso
state: restarted
daemon_reload: true

3
tasks/python.yml

@ -29,6 +29,7 @@
packages:
#- isso # -> later
- gunicorn
- requests
tags:
- install
- python
@ -52,6 +53,8 @@
virtualenv: "{{isso_virtualenv}}"
virtualenv_command: virtualenv
virtualenv_python: "python{{isso_python_version}}"
notify:
reload gunicorn
tags:
- install
- python

2
templates/isso.cfg.j2

@ -12,7 +12,7 @@ host =
notify = stout{% if isso_notify_telegram %}, telegram{% endif %}
log-file: {{isso_log_dir}}/isso.log
log-file = {{isso_log_dir}}/isso.log
{% if isso_notify_telegram %}
[telegram]

Loading…
Cancel
Save