Add offline license capture to setup
This commit is contained in:
1 parent
9ce9efc82e
commit
f407a9331e
4 files changed
+198
-29
No files matched your search
@@ -30,6 +30,19 @@
|
||||
group: "{{ cezen_user }}"
|
||||
mode: "0750"
|
||||
|
||||
- name: Check for captured license file
|
||||
stat:
|
||||
path: /opt/cezen/license.json
|
||||
register: cezen_license_file
|
||||
|
||||
- name: Allow backend service to read captured license
|
||||
file:
|
||||
path: /opt/cezen/license.json
|
||||
owner: root
|
||||
group: "{{ cezen_user }}"
|
||||
mode: "0640"
|
||||
when: cezen_license_file.stat.exists
|
||||
|
||||
- name: Copy FastAPI application
|
||||
copy:
|
||||
src: main.py
|
||||
|
||||
Reference in new issue
Block a user