Commit 54302ca2 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

implement Lars' feedback

parent 04fac220
Pipeline #3103 passed with stage
in 1 minute and 24 seconds
...@@ -348,7 +348,7 @@ ...@@ -348,7 +348,7 @@
owner: "{{ app_user }}" owner: "{{ app_user }}"
group: "{{ app_group }}" group: "{{ app_group }}"
mode: '0750' mode: '0750'
when: app_spooler|default(false) when: app_spooler
- meta: flush_handlers - meta: flush_handlers
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- name: ensure we have a folder for invoices - name: ensure we have a folder for invoices
file: file:
path: "{{ app_path}}/rechnungen" path: "{{ app_path }}/rechnungen"
state: directory state: directory
owner: "{{ app_user }}" owner: "{{ app_user }}"
group: "{{ app_group }}" group: "{{ app_group }}"
......
...@@ -12,6 +12,7 @@ TESTING_MAILS = ["{{ app_testing_mails }}"] ...@@ -12,6 +12,7 @@ TESTING_MAILS = ["{{ app_testing_mails }}"]
MAIL_SERVER = "{{ app_mail_server }}" MAIL_SERVER = "{{ app_mail_server }}"
MAIL_USE_TLS = True MAIL_USE_TLS = True
SENDER_MAIL_ADDRESS = "{{ app_sender_mail_address }}"
MAIL_TIMEOUT = 10 MAIL_TIMEOUT = 10
MAIL_USE_LOCALTIME = True MAIL_USE_LOCALTIME = True
......
...@@ -32,9 +32,9 @@ env = {{ env }} ...@@ -32,9 +32,9 @@ env = {{ env }}
{% for mule in range(app_mules|default(0)) %} {% for mule in range(app_mules|default(0)) %}
mule = mule =
{% endfor %} {% endfor %}
{% if app_spooler|default(false) %} {% if app_spooler %}
spooler = {{app_spooler_dir}} spooler = {{app_spooler_dir}}
spooler-interval = {{app_spooler_interval|default(30)}} spooler-interval = {{app_spooler_interval}}
{% endif %} {% endif %}
#umask = 227 #umask = 227
chdir = {{app_chdir}} chdir = {{app_chdir}}
......
...@@ -43,3 +43,7 @@ app_requirements_file: requirements.txt ...@@ -43,3 +43,7 @@ app_requirements_file: requirements.txt
app_config_file: config.py app_config_file: config.py
app_secret_config: true app_secret_config: true
app_secret_config_keys: [] app_secret_config_keys: []
app_spooler: false
app_spooler_interval: 30
app_spooler_dir: "{{app_path}}/spooler"
...@@ -37,6 +37,7 @@ app_branding_description: > ...@@ -37,6 +37,7 @@ app_branding_description: >
app_mail_server: "mail.fsmpi.rwth-aachen.de" app_mail_server: "mail.fsmpi.rwth-aachen.de"
app_testing_mails: "vampir-vorstand@fsmpi.rwth-aachen.de" app_testing_mails: "vampir-vorstand@fsmpi.rwth-aachen.de"
app_sender_mail_address: "vampir-vorstand@fsmpi.rwth-aachen.de"
app_spooler: true app_spooler: true
app_spooler_dir: "{{app_path}}/spooler" app_spooler_dir: "{{app_path}}/spooler"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment