Files
computer-playbook/roles/web-app-openproject/tasks/main.yml
Kevin Veen-Birkenbach a26538d1b3 web-app-openproject: upgrade to OpenProject 15
- bumped image version from 14 to 15
- removed dedicated migration task (now handled by upstream entrypoints)
- renamed tasks for cleaner numbering:
  * 02_settings.yml → 01_settings.yml
  * 03_ldap.yml → 02_ldap.yml
  * 04_admin.yml → 03_admin.yml

Ref: https://chatgpt.com/share/68d57770-2430-800f-ae53-e7eda6993a8d
2025-09-25 19:39:45 +02:00

37 lines
910 B
YAML

---
- name: "load docker, db and proxy for {{ application_id }}"
include_role:
name: sys-stk-full-stateful
- name: "Create {{ OPENPROJECT_PLUGINS_FOLDER }}"
file:
path: "{{ OPENPROJECT_PLUGINS_FOLDER }}"
state: directory
mode: '0755'
- name: "Transfering Gemfile.plugins to {{ OPENPROJECT_PLUGINS_FOLDER }}"
copy:
src: Gemfile.plugins
dest: "{{ [OPENPROJECT_PLUGINS_FOLDER,'Gemfile.plugins'] | path_join }}"
notify:
- docker compose up
- docker compose build
- name: "create {{ OPENPROJECT_DUMMY_VOLUME }}"
file:
path: "{{ OPENPROJECT_DUMMY_VOLUME }}"
state: directory
mode: "0755"
- name: flush docker service
meta: flush_handlers
- name: Deploy Settings
include_tasks: 01_settings.yml
- name: Setup LDAP
include_tasks: 02_ldap.yml
when: OPENPROJECT_LDAP_ENABLED | bool
- name: Create OpenProject Administrator
include_tasks: 03_admin.yml