1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

weirdness use both for now

This commit is contained in:
Jerry Vonau 2021-05-25 07:54:01 +00:00
parent 8e3337277d
commit 57b5c451fd
2 changed files with 8 additions and 2 deletions

View file

@ -104,6 +104,11 @@
owner: "{{ lokole_user }}"
mode: g+rw
- name: Generate key and salt
set_fact:
lokole_key: "{{ lookup('password', '/dev/null chars=ascii_letters,digits,_ length=32') }}"
lokole_salt: "{{ lookup('password', '/dev/null chars=ascii_letters,digits,_ length=16') }}"
- name: Install {{ lokole_settings }}
template:
src: settings.env.j2

View file

@ -4,6 +4,7 @@ OPWEN_APP_ROOT={{ lokole_url }}/
OPWEN_MAX_UPLOAD_SIZE_MB=10
OPWEN_SYNC_SCHEDULE="1,16,31,46 * * * *"
OPWEN_RESTART_PATH={{ lokole_run_dir }}/lokole_restarter/lokole_gunicorn=HUP,{{ lokole_run_dir }}/lokole_restarter/lokole_celery_worker=,{{ lokole_run_dir }}/lokole_restarter/lokole_celery_beat=
OPWEN_SECRET_KEY={{ lookup('password', '/dev/null chars=ascii_letters,digits,_ length=32') }}
OPWEN_PASSWORD_SALT={{ lookup('password', '/dev/null chars=ascii_letters,digits,_ length=16') }}
OPWEN_SESSION_KEY={{ lokole_key }}
OPWEN_SECRET_KEY={{ lokole_key }}
OPWEN_PASSWORD_SALT={{ lokole_salt }}
OPWEN_SIM_TYPE={{ lokole_sim_type }}