Add OneLab Helm chart, Argo CD Application, and GitOps values for k3s
Made-with: Cursor
This commit is contained in:
21
app/playbooks/tasks/post-update.yml
Normal file
21
app/playbooks/tasks/post-update.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
#
|
||||
# Specfic update tasks for version
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
# Migrate SSL structure (1.12.0 -> 1.13.0)
|
||||
#
|
||||
- include_tasks: "{{ installer_path }}/app/playbooks/tasks/ssl-cert-migration.yml"
|
||||
|
||||
#
|
||||
# Postgres13 post-migration
|
||||
#
|
||||
- name: Checking if database has to be migrated
|
||||
stat:
|
||||
path: "{{ onelab_path }}/.lock_db_migration"
|
||||
register: onelab_lock_db_result
|
||||
|
||||
- include_tasks: "{{ installer_path }}/app/playbooks/tasks/post-db-migration.yml"
|
||||
when: onelab_lock_db_result.stat.exists
|
||||
Reference in New Issue
Block a user