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
|
@ -22,6 +22,11 @@
|
||||||
tags:
|
tags:
|
||||||
- install
|
- install
|
||||||
when: internet_available
|
when: internet_available
|
||||||
|
|
||||||
|
- name: Create run directory
|
||||||
|
file:
|
||||||
|
path: "{{ lokole_run_directory }}"
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: Configure Lokole
|
- name: Configure Lokole
|
||||||
template:
|
template:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
export OPWEN_STATE_DIRECTORY='{{lokole_run_directory}}'
|
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_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_PASSWORD_SALT='{{ lookup('password', '/dev/null chars=ascii_letters,digits,_ length=16 encrypt=no') }}'
|
||||||
export OPWEN_CLIENT_NAME='iiab-{{ iiab_hostname }}'
|
export OPWEN_CLIENT_NAME='iiab-{{ iiab_hostname }}'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue