mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Add missing parentheses in template and make sure run directory exists
This commit is contained in:
parent
84d9144088
commit
86fba55954
2 changed files with 7 additions and 2 deletions
|
@ -22,6 +22,11 @@
|
|||
tags:
|
||||
- install
|
||||
when: internet_available
|
||||
|
||||
- name: Create run directory
|
||||
file:
|
||||
path: "{{ lokole_run_directory }}"
|
||||
state: directory
|
||||
|
||||
- name: Configure Lokole
|
||||
template:
|
||||
|
|
|
@ -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…
Reference in a new issue