mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Create Lokole admin user during setup
This commit is contained in:
parent
eb9808de27
commit
b21401be14
2 changed files with 10 additions and 1 deletions
|
@ -53,6 +53,13 @@
|
|||
tags:
|
||||
- configure
|
||||
|
||||
- name: Create admin user
|
||||
shell: |
|
||||
. {{ lokole_run_directory }}/webapp_secrets.sh
|
||||
{{ lokole_venv }}/bin/manage.py createadmin --name='{{ lokole_admin_user }}' --password='{{ lokole_admin_password }}'
|
||||
tags:
|
||||
- configure
|
||||
|
||||
- name: Install unit file /etc/systemd/system/lokole.service from template
|
||||
template:
|
||||
src: lokole.service.j2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue