mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
start supervisor before Admin User creation
This commit is contained in:
parent
483cdd3228
commit
f016f51eeb
1 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
- name: start supervisor
|
||||
systemd:
|
||||
name: supervisor
|
||||
state: started
|
||||
|
||||
- name: Create Lokole admin user with password, for http://box{{ lokole_url }} # http://box/lokole
|
||||
shell: |
|
||||
while read envvar; do export "$envvar"; done < {{ lokole_run_dir }}/settings.env
|
||||
|
@ -9,7 +14,7 @@
|
|||
state: file
|
||||
owner: "{{ lokole_user }}"
|
||||
group: "{{ lokole_user }}"
|
||||
mode: u=rw,g=r
|
||||
mode: u=rw
|
||||
loop:
|
||||
- { path: "{{ lokole_run_dir }}/users.sqlite3" }
|
||||
# - { path: "{{ lokole_run_dir }}/celery.sqlite3" }
|
||||
|
|
Loading…
Reference in a new issue