Add enterprise appliance experience Phase 1 foundation
This commit is contained in:
1 parent
b3eec34158
commit
ebaa2e7219
69 files changed
+6832
-18
No files matched your search
@@ -43,6 +43,21 @@
|
||||
mode: "0640"
|
||||
when: cezen_license_file.stat.exists
|
||||
|
||||
- name: Check for existing appliance database before schema migration
|
||||
stat:
|
||||
path: /opt/cezen/data/cezen.db
|
||||
register: cezen_existing_db
|
||||
|
||||
- name: Create pre-deploy database safety copy
|
||||
copy:
|
||||
src: /opt/cezen/data/cezen.db
|
||||
dest: /opt/cezen/data/cezen.db.pre-deploy
|
||||
remote_src: yes
|
||||
owner: "{{ cezen_user }}"
|
||||
group: "{{ cezen_user }}"
|
||||
mode: "0600"
|
||||
when: cezen_existing_db.stat.exists
|
||||
|
||||
- name: Copy FastAPI application
|
||||
copy:
|
||||
src: main.py
|
||||
|
||||
Reference in new issue
Block a user