1
0
Fork 0
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:
Angela Liu 2018-07-23 19:11:16 -04:00 committed by Aidan Fitzgerald
parent 84d9144088
commit 86fba55954
2 changed files with 7 additions and 2 deletions

View file

@ -22,6 +22,11 @@
tags:
- install
when: internet_available
- name: Create run directory
file:
path: "{{ lokole_run_directory }}"
state: directory
- name: Configure Lokole
template:

View file

@ -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 }}'