mirror of
https://github.com/roles-ansible/ansible_role_etebase.git
synced 2024-08-16 10:19:52 +02:00
Update venv and secret paths
This commit is contained in:
parent
51b7b3aa68
commit
000bf1fad4
2 changed files with 6 additions and 4 deletions
|
@ -4,17 +4,18 @@ etebase__group: 'etebase'
|
|||
etebase__user: 'etebase'
|
||||
etebase__user_home: '/var/lib/etebase'
|
||||
etebase__shell: '/bin/false'
|
||||
etebase__venv: '/tmp/venv'
|
||||
etebase__venv: "{{ etebase__user_home }}/venv"
|
||||
|
||||
# package state
|
||||
etebase__package_state: 'present'
|
||||
|
||||
# etebase version
|
||||
etebase__version: 'latest'
|
||||
etebase__secrets_dir: "{{ etebase__user_home }}/secrets"
|
||||
|
||||
# etebase config options
|
||||
# -> global
|
||||
etebase__global_secret_file: 'secret.txt'
|
||||
etebase__global_secret_file: '{{ etebase__secrets_dir }}/secret.txt'
|
||||
etebase__global_debug: false
|
||||
etebase__global_static_root: "{{ etebase__user_home }}/static_root"
|
||||
etebase__global_media_root: "{{ etebase__user_home }}/media_root"
|
||||
|
@ -26,7 +27,7 @@ etebase__allowed_hosts_extra: ''
|
|||
|
||||
# -> Database
|
||||
etebase__database_engine: 'django.db.backends.sqlite3'
|
||||
etebase__database_name: 'etebase.db.sqlite3'
|
||||
etebase__database_name: "{{ etebase__secrets_dir }}/etebase.db.sqlite3"
|
||||
etebase__database_extra: ''
|
||||
etebase__database_options_extra: ''
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
owner: "{{ etebase__user }}"
|
||||
|
||||
|
||||
- name: "Create istatic data directory"
|
||||
- name: "Create static data directorys"
|
||||
become: true
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
|
@ -21,3 +21,4 @@
|
|||
with_items:
|
||||
- "{{ etebase__global_static_root }}"
|
||||
- "{{ etebase__global_media_root }}"
|
||||
- "{{ etebase__secrets_dir }}"
|
||||
|
|
Loading…
Reference in a new issue