mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Add missing parentheses in template and make sure run directory exists
This commit is contained in:
parent
5d48482341
commit
4939c7a7ab
2 changed files with 7 additions and 2 deletions
|
@ -23,6 +23,11 @@
|
|||
- install
|
||||
when: internet_available
|
||||
|
||||
- name: Create run directory
|
||||
file:
|
||||
path: "{{ lokole_run_directory }}"
|
||||
state: directory
|
||||
|
||||
- name: Configure Lokole
|
||||
template:
|
||||
src: webapp_secrets.sh.j2
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export OPWEN_STATE_DIRECTORY='{{lokole_run_directory}}'
|
||||
export OPWEN_SESSION_KEY='{{ lookup('password', '/dev/null chars=ascii_letters,digits,_ length=32 encrypt=no' }}'
|
||||
export OPWEN_PASSWORD_SALT='{{ lookup('password', '/dev/null chars=ascii_letters,digits,_ length=16 encrypt=no' }}'
|
||||
export OPWEN_SESSION_KEY='{{ lookup('password', '/dev/null chars=ascii_letters,digits,_ length=32 encrypt=no') }}'
|
||||
export OPWEN_PASSWORD_SALT='{{ lookup('password', '/dev/null chars=ascii_letters,digits,_ length=16 encrypt=no') }}'
|
||||
export OPWEN_CLIENT_NAME='iiab-{{ iiab_hostname }}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue